Skip to content

Commit

Permalink
update cannonfiles for 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlescano committed Mar 5, 2024
1 parent abe57af commit 506337b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
6 changes: 2 additions & 4 deletions cannon/create-safe.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name = "safe"
version = "1.3.0"
version = "1.4.1"

description = "Deploys a safe Ethereum multisig contract"

[setting.safe_impl_package]
defaultValue = "safe-impl:1.3.0"
defaultValue = "safe-impl:1.4.1"

[setting.salt]

Expand Down Expand Up @@ -46,5 +46,3 @@ args = [
factory.Safe.abiOf = ["impl.SafeSingleton"]
factory.Safe.event = "ProxyCreation"
factory.Safe.arg = 0

depends = ["import.impl"]
10 changes: 5 additions & 5 deletions cannon/l1.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "safe-impl"
version = "1.3.0"
version = "1.4.1"

description = "Ethereum multisig contract--implementation contracts"

Expand All @@ -12,12 +12,12 @@ salt = "<%= settings.salt %>"
create2 = true

[contract.SafeProxyFactory]
artifact = "GnosisSafeProxyFactory"
artifact = "SafeProxyFactory"
salt = "<%= settings.salt %>"
create2 = true

[contract.DefaultCallbackHandler]
artifact = "DefaultCallbackHandler"
[contract.TokenCallbackHandler]
artifact = "TokenCallbackHandler"
salt = "<%= settings.salt %>"
create2 = true

Expand Down Expand Up @@ -47,6 +47,6 @@ salt = "<%= settings.salt %>"
create2 = true

[contract.SafeSingleton]
artifact = "GnosisSafe"
artifact = "Safe"
salt = "<%= settings.salt %>"
create2 = true
8 changes: 4 additions & 4 deletions cannon/l2.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include = [
"cannonfile.toml"
"l1.toml"
]

version = "<%= package.version %>-l2"
version = "1.4.1-l2"

[contract.SafeSingleton]
artifact = "GnosisSafeL2"
artifact = "SafeL2"
salt = "<%= settings.salt %>"
create2 = true
create2 = true
5 changes: 4 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ if (PK) {
};
}

if (["mainnet", "rinkeby", "kovan", "goerli", "ropsten", "mumbai", "polygon", "sepolia"].includes(argv.network) && INFURA_KEY === undefined) {
if (
["mainnet", "rinkeby", "kovan", "goerli", "ropsten", "mumbai", "polygon", "sepolia"].includes(argv.network) &&
INFURA_KEY === undefined
) {
throw new Error(`Could not find Infura key in env, unable to connect to network ${argv.network}`);
}

Expand Down

0 comments on commit 506337b

Please sign in to comment.