File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
target_chains/ethereum/contracts Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ async function main() {
87
87
JSON . stringify ( guardianSet )
88
88
) ;
89
89
console . log (
90
- `Address:\t\t${ address } \nproxy digest:\t\t${ proxyDigest } \nimplementation digest:\t${ implementationDigest } \nguardian set index:\t${ currentIndex } \nguardian set:\t\t${ guardianSetDigest } `
90
+ `${ chain . getId ( ) } Address:\t\t${ address } \nproxy digest:\t\t${ proxyDigest } \nimplementation digest:\t${ implementationDigest } \nguardian set index:\t${ currentIndex } \nguardian set:\t\t${ guardianSetDigest } `
91
91
) ;
92
92
}
93
93
}
@@ -107,7 +107,7 @@ async function main() {
107
107
const contract = new EvmContract ( chain , address ) ;
108
108
const code = await contract . getCodeDigestWithoutAddress ( ) ;
109
109
// this should be the same keccak256 of the deployedCode property generated by truffle
110
- console . log ( `Address:${ address } digest:${ code } ` ) ;
110
+ console . log ( `${ chain . getId ( ) } Address:${ address } digest:${ code } ` ) ;
111
111
}
112
112
}
113
113
}
@@ -125,7 +125,7 @@ async function main() {
125
125
const code = await chain . getCode ( Number ( codeId ) ) ;
126
126
// this should be the same checksums.txt in our release file
127
127
console . log (
128
- `Code Id:${ codeId } digest:${ createHash ( "sha256" )
128
+ `${ chain . getId ( ) } Code Id:${ codeId } digest:${ createHash ( "sha256" )
129
129
. update ( code )
130
130
. digest ( "hex" ) } `
131
131
) ;
Original file line number Diff line number Diff line change 1
1
[profile .default ]
2
2
solc_version = ' 0.8.4'
3
3
optimizer = true
4
- optimizer_runs = 2000
4
+ optimizer_runs = 200
5
5
src = ' contracts'
6
6
# We put the tests into the forge-test directory (instead of test) so that
7
7
# truffle doesn't try to build them
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ module.exports = {
107
107
settings : {
108
108
optimizer : {
109
109
enabled : true ,
110
- runs : 2000 ,
110
+ runs : 200 ,
111
111
} ,
112
112
} ,
113
113
} ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module.exports = {
37
37
settings : {
38
38
optimizer : {
39
39
enabled : true ,
40
- runs : 2000 ,
40
+ runs : 200 ,
41
41
} ,
42
42
} ,
43
43
} ,
You can’t perform that action at this time.
0 commit comments