-
Notifications
You must be signed in to change notification settings - Fork 60
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
Conversation
@@ -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 }} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet
hardhat.config.ts
Outdated
@@ -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}`, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
hardhat.config.ts
Outdated
@@ -189,6 +196,15 @@ const config: HardhatUserConfig = { | |||
browserURL: 'https://sepolia.explorer.zksync.io' | |||
} | |||
}, | |||
{ | |||
network: 'berachainbArtio', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: berachainBartio
scripts/deploy.ts
Outdated
@@ -79,6 +79,10 @@ async function main() { | |||
walletImplementationContractName = 'ZkethWalletSimple'; | |||
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`; | |||
break; | |||
case 80084: | |||
walletImplementationContractName = 'BeraWalletSimple'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be WalletSimple
There was a problem hiding this comment.
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';
There was a problem hiding this comment.
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
scripts/deploy.ts
Outdated
@@ -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}`; |
There was a problem hiding this comment.
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}
;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
package-lock.json
Outdated
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
yarn.lock
Outdated
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
6f7477b
to
be622e1
Compare
0f89091
to
b5a9563
Compare
b5a9563
to
5b256f8
Compare
5b256f8
to
b757d0b
Compare
b757d0b
to
388c424
Compare
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) |
There was a problem hiding this comment.
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?
No description provided.