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() {
8787 JSON . stringify ( guardianSet )
8888 ) ;
8989 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 } `
9191 ) ;
9292 }
9393 }
@@ -107,7 +107,7 @@ async function main() {
107107 const contract = new EvmContract ( chain , address ) ;
108108 const code = await contract . getCodeDigestWithoutAddress ( ) ;
109109 // 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 } ` ) ;
111111 }
112112 }
113113 }
@@ -125,7 +125,7 @@ async function main() {
125125 const code = await chain . getCode ( Number ( codeId ) ) ;
126126 // this should be the same checksums.txt in our release file
127127 console . log (
128- `Code Id:${ codeId } digest:${ createHash ( "sha256" )
128+ `${ chain . getId ( ) } Code Id:${ codeId } digest:${ createHash ( "sha256" )
129129 . update ( code )
130130 . digest ( "hex" ) } `
131131 ) ;
Original file line number Diff line number Diff line change 11[profile .default ]
22solc_version = ' 0.8.4'
33optimizer = true
4- optimizer_runs = 2000
4+ optimizer_runs = 200
55src = ' contracts'
66# We put the tests into the forge-test directory (instead of test) so that
77# truffle doesn't try to build them
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ module.exports = {
107107 settings : {
108108 optimizer : {
109109 enabled : true ,
110- runs : 2000 ,
110+ runs : 200 ,
111111 } ,
112112 } ,
113113 } ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module.exports = {
3737 settings : {
3838 optimizer : {
3939 enabled : true ,
40- runs : 2000 ,
40+ runs : 200 ,
4141 } ,
4242 } ,
4343 } ,
You can’t perform that action at this time.
0 commit comments