Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(eth-multisig-v4): add bera config #159

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

adarsh312
Copy link
Contributor

No description provided.

@adarsh312 adarsh312 requested a review from a team as a code owner August 7, 2024 13:28
@adarsh312 adarsh312 marked this pull request as draft August 7, 2024 13:46
@adarsh312 adarsh312 marked this pull request as ready for review August 8, 2024 05:25
@@ -35,6 +35,7 @@ jobs:
ARBISCAN_API_KEY: ${{ secrets.ARBISCAN_API_KEY }}
OPTIMISTIC_ETHERSCAN_API_KEY: ${{ secrets.OPTIMISTIC_ETHERSCAN_API_KEY }}
ZKSYNC_EXPLORER_API_KEY: ${{ secrets.ZKSYNC_EXPLORER_API_KEY }}
BARTIO_BERA_EXPLORER_API_KEY: ${{ secrets.BARTIO_BERA_EXPLORER_API_KEY }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the key already added in github secrets?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not yet

.github/workflows/deploy_and_release.yml Outdated Show resolved Hide resolved
@@ -121,6 +122,10 @@ const config: HardhatUserConfig = {
tzketh: {
url: `${QUICKNODE_ZKSYNC_SEPOLIA_API_KEY}`,
accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`]
},
tbera: {
url: `${BARTIO_BERA_EXPLORER_API_KEY}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you don't need Explorer API key. You need to add public rpc url for bera as this will be used to deploy the contracts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed it. just realized when i was trying to run in my local

@@ -189,6 +196,15 @@ const config: HardhatUserConfig = {
browserURL: 'https://sepolia.explorer.zksync.io'
}
},
{
network: 'berachainbArtio',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: berachainBartio

@@ -79,6 +79,10 @@ async function main() {
walletImplementationContractName = 'ZkethWalletSimple';
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
break;
case 80084:
walletImplementationContractName = 'BeraWalletSimple';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be WalletSimple

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need to add
forwarderContractName = 'ForwarderV4';
forwarderFactoryContractName = 'ForwarderFactoryV4';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, i followed the zksync so might have missed these

@@ -79,6 +79,10 @@ async function main() {
walletImplementationContractName = 'ZkethWalletSimple';
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
break;
case 80084:
walletImplementationContractName = 'BeraWalletSimple';
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contractPath = contracts/${walletImplementationContractName}.sol:${walletImplementationContractName};

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no new module that is added, we should not commit package-lock in that case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

yarn.lock Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not commit this as no new module is added

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) || (needs.get-network.outputs.network == 'tarbeth' ) || (needs.get-network.outputs.network == 'topeth' ) || (needs.get-network.outputs.network == 'tzketh' ) || (needs.get-network.outputs.network == 'tbaseeth' )}}
=======
if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) || (needs.get-network.outputs.network == 'tarbeth' ) || (needs.get-network.outputs.network == 'topeth' ) || (needs.get-network.outputs.network == 'tzketh' ) || (needs.get-network.outputs.network == 'tbera' ) }}
>>>>>>> 5b256f8 (chore(eth-multisig-v4): add bera config)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be pushed, right?

@adarsh312 adarsh312 merged commit 6d711c8 into master Aug 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants