diff --git a/cmd/zetae2e/local/v2.go b/cmd/zetae2e/local/v2.go index 4beb605069..0897896b12 100644 --- a/cmd/zetae2e/local/v2.go +++ b/cmd/zetae2e/local/v2.go @@ -41,22 +41,22 @@ func startV2Tests(eg *errgroup.Group, conf config.Config, deployerRunner *runner // e2etests.TestV2ERC20DepositAndCallNoMessageName, //)) - // Test revert cases for gas token workflow - eg.Go( - v2TestRoutine( - conf, - "eth-revert", - conf.AdditionalAccounts.UserV2EtherRevert, - color.FgHiYellow, - deployerRunner, - verbose, - e2etests.TestV2ETHDepositName, // necessary to pay fees on ZEVM and withdraw - //e2etests.TestV2ETHDepositAndCallRevertName, - //e2etests.TestV2ETHDepositAndCallRevertWithCallName, - //e2etests.TestV2ETHWithdrawAndCallRevertName, - e2etests.TestV2ETHWithdrawAndCallRevertWithCallName, - ), - ) + //// Test revert cases for gas token workflow + //eg.Go( + // v2TestRoutine( + // conf, + // "eth-revert", + // conf.AdditionalAccounts.UserV2EtherRevert, + // color.FgHiYellow, + // deployerRunner, + // verbose, + // e2etests.TestV2ETHDepositName, // necessary to pay fees on ZEVM and withdraw + // //e2etests.TestV2ETHDepositAndCallRevertName, + // //e2etests.TestV2ETHDepositAndCallRevertWithCallName, + // //e2etests.TestV2ETHWithdrawAndCallRevertName, + // e2etests.TestV2ETHWithdrawAndCallRevertWithCallName, + // ), + //) //// Test revert cases for erc20 token workflow //eg.Go( diff --git a/pkg/contracts/testdappv2/TestDAppV2.bin b/pkg/contracts/testdappv2/TestDAppV2.bin index 905beec6a9..53d2053ac5 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.bin +++ b/pkg/contracts/testdappv2/TestDAppV2.bin @@ -1 +1 @@ -6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620493e090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220010e53d4485297bebedde446f8f1ba7db3db7e3a6df6645df73381742feec24564736f6c634300081a0033 +6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b60006207a12090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220f6d7f003e073c4ddb3f97d854af6f6d37edd9fc7728b5c1cbbf09796a676be0664736f6c634300081a0033 diff --git a/pkg/contracts/testdappv2/TestDAppV2.go b/pkg/contracts/testdappv2/TestDAppV2.go index 46b6db71dc..40a0ceb7f9 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.go +++ b/pkg/contracts/testdappv2/TestDAppV2.go @@ -52,7 +52,7 @@ type TestDAppV2zContext struct { // TestDAppV2MetaData contains all meta data concerning the TestDAppV2 contract. var TestDAppV2MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"NO_MESSAGE_CALL\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"amountWithMessage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"calledWithMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"erc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"erc20Call\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"gasCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"getAmountWithMessage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"getCalledWithMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"getNoMessageIndex\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"origin\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"}],\"internalType\":\"structTestDAppV2.zContext\",\"name\":\"_context\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"internalType\":\"structTestDAppV2.MessageContext\",\"name\":\"messageContext\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCall\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"revertMessage\",\"type\":\"bytes\"}],\"internalType\":\"structTestDAppV2.RevertContext\",\"name\":\"revertContext\",\"type\":\"tuple\"}],\"name\":\"onRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"senderWithMessage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"simpleCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]", - Bin: "0x6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620493e090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220010e53d4485297bebedde446f8f1ba7db3db7e3a6df6645df73381742feec24564736f6c634300081a0033", + Bin: "0x6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b60006207a12090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220f6d7f003e073c4ddb3f97d854af6f6d37edd9fc7728b5c1cbbf09796a676be0664736f6c634300081a0033", } // TestDAppV2ABI is the input ABI used to generate the binding from. diff --git a/pkg/contracts/testdappv2/TestDAppV2.json b/pkg/contracts/testdappv2/TestDAppV2.json index ff8d0a91ae..49652f0ce9 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.json +++ b/pkg/contracts/testdappv2/TestDAppV2.json @@ -292,5 +292,5 @@ "type": "receive" } ], - "bin": "6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620493e090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220010e53d4485297bebedde446f8f1ba7db3db7e3a6df6645df73381742feec24564736f6c634300081a0033" + "bin": "6080604052348015600f57600080fd5b5061164a8061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c48565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cc7565b610385565b60405161012f9190610d0d565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e36565b61039d565b005b61017b60048036038101906101769190610ef9565b61048b565b6040516101889190610fd8565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c48565b61059d565b6040516101c59190610d0d565b60405180910390f35b6101e860048036038101906101e39190610c48565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ffa565b610609565b60405161021e919061107c565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110dc565b610669565b005b34801561025c57600080fd5b5061026561071d565b604051610272919061107c565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061116a565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cc7565b610898565b6040516102d891906111ce565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c48565b6108b8565b60405161031591906111ce565b60405180910390f35b34801561032a57600080fd5b506103456004803603810190610340919061128a565b610908565b60405161035291906112e2565b60405180910390f35b61036481610951565b1561036e57600080fd5b610377816109a7565b6103828160006109fb565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610951565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ffa565b610609565b5b9050610471816109a7565b61047b81856109fb565b610483610a3d565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ffa565b610609565b5b905061050a816109a7565b61051481346109fb565b8460000160208101906105279190610ffa565b6002826040516105379190611339565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b4919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610951565b156105f357600080fd5b6105fc816109a7565b61060681346109fb565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113eb565b6040516020818303038152906040529050919050565b61067281610951565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b993929190611413565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190611476565b61070557600080fd5b61070e816109a7565b61071881836109fb565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b61075e610a3d565b6107b981806060019061077191906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506109a7565b6108168180606001906107cc91906114b2565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109fb565b8060000160208101906108299190610ffa565b600282806060019061083b91906114b2565b60405161084992919061153a565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108cf919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006040516020016109629061159f565b6040516020818303038152906040528051906020012082604051602001610989919061138c565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109bd919061138c565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a11919061138c565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b60006207a12090506000614e20905060008183610a5a91906115e3565b905060005b81811015610a9d5760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a5f565b50600080610aab9190610ab0565b505050565b5080546000825590600052602060002090810190610ace9190610ad1565b50565b5b80821115610aea576000816000905550600101610ad2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b5582610b0c565b810181811067ffffffffffffffff82111715610b7457610b73610b1d565b5b80604052505050565b6000610b87610aee565b9050610b938282610b4c565b919050565b600067ffffffffffffffff821115610bb357610bb2610b1d565b5b610bbc82610b0c565b9050602081019050919050565b82818337600083830152505050565b6000610beb610be684610b98565b610b7d565b905082815260208101848484011115610c0757610c06610b07565b5b610c12848285610bc9565b509392505050565b600082601f830112610c2f57610c2e610b02565b5b8135610c3f848260208601610bd8565b91505092915050565b600060208284031215610c5e57610c5d610af8565b5b600082013567ffffffffffffffff811115610c7c57610c7b610afd565b5b610c8884828501610c1a565b91505092915050565b6000819050919050565b610ca481610c91565b8114610caf57600080fd5b50565b600081359050610cc181610c9b565b92915050565b600060208284031215610cdd57610cdc610af8565b5b6000610ceb84828501610cb2565b91505092915050565b6000819050919050565b610d0781610cf4565b82525050565b6000602082019050610d226000830184610cfe565b92915050565b600080fd5b600060608284031215610d4357610d42610d28565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7782610d4c565b9050919050565b610d8781610d6c565b8114610d9257600080fd5b50565b600081359050610da481610d7e565b92915050565b610db381610cf4565b8114610dbe57600080fd5b50565b600081359050610dd081610daa565b92915050565b600080fd5b600080fd5b60008083601f840112610df657610df5610b02565b5b8235905067ffffffffffffffff811115610e1357610e12610dd6565b5b602083019150836001820283011115610e2f57610e2e610ddb565b5b9250929050565b600080600080600060808688031215610e5257610e51610af8565b5b600086013567ffffffffffffffff811115610e7057610e6f610afd565b5b610e7c88828901610d2d565b9550506020610e8d88828901610d95565b9450506040610e9e88828901610dc1565b935050606086013567ffffffffffffffff811115610ebf57610ebe610afd565b5b610ecb88828901610de0565b92509250509295509295909350565b600060208284031215610ef057610eef610d28565b5b81905092915050565b600080600060408486031215610f1257610f11610af8565b5b6000610f2086828701610eda565b935050602084013567ffffffffffffffff811115610f4157610f40610afd565b5b610f4d86828701610de0565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f93578082015181840152602081019050610f78565b60008484015250505050565b6000610faa82610f59565b610fb48185610f64565b9350610fc4818560208601610f75565b610fcd81610b0c565b840191505092915050565b60006020820190508181036000830152610ff28184610f9f565b905092915050565b6000602082840312156110105761100f610af8565b5b600061101e84828501610d95565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061104e82611027565b6110588185611032565b9350611068818560208601610f75565b61107181610b0c565b840191505092915050565b600060208201905081810360008301526110968184611043565b905092915050565b60006110a982610d6c565b9050919050565b6110b98161109e565b81146110c457600080fd5b50565b6000813590506110d6816110b0565b92915050565b6000806000606084860312156110f5576110f4610af8565b5b6000611103868287016110c7565b935050602061111486828701610dc1565b925050604084013567ffffffffffffffff81111561113557611134610afd565b5b61114186828701610c1a565b9150509250925092565b60006080828403121561116157611160610d28565b5b81905092915050565b6000602082840312156111805761117f610af8565b5b600082013567ffffffffffffffff81111561119e5761119d610afd565b5b6111aa8482850161114b565b91505092915050565b60008115159050919050565b6111c8816111b3565b82525050565b60006020820190506111e360008301846111bf565b92915050565b600067ffffffffffffffff82111561120457611203610b1d565b5b61120d82610b0c565b9050602081019050919050565b600061122d611228846111e9565b610b7d565b90508281526020810184848401111561124957611248610b07565b5b611254848285610bc9565b509392505050565b600082601f83011261127157611270610b02565b5b813561128184826020860161121a565b91505092915050565b6000602082840312156112a05761129f610af8565b5b600082013567ffffffffffffffff8111156112be576112bd610afd565b5b6112ca8482850161125c565b91505092915050565b6112dc81610d6c565b82525050565b60006020820190506112f760008301846112d3565b92915050565b600081905092915050565b600061131382610f59565b61131d81856112fd565b935061132d818560208601610f75565b80840191505092915050565b60006113458284611308565b915081905092915050565b600081905092915050565b600061136682611027565b6113708185611350565b9350611380818560208601610f75565b80840191505092915050565b6000611398828461135b565b915081905092915050565b60008160601b9050919050565b60006113bb826113a3565b9050919050565b60006113cd826113b0565b9050919050565b6113e56113e082610d6c565b6113c2565b82525050565b60006113f7828561135b565b915061140382846113d4565b6014820191508190509392505050565b600060608201905061142860008301866112d3565b61143560208301856112d3565b6114426040830184610cfe565b949350505050565b611453816111b3565b811461145e57600080fd5b50565b6000815190506114708161144a565b92915050565b60006020828403121561148c5761148b610af8565b5b600061149a84828501611461565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114cf576114ce6114a3565b5b80840192508235915067ffffffffffffffff8211156114f1576114f06114a8565b5b60208301925060018202360383131561150d5761150c6114ad565b5b509250929050565b600061152183856112fd565b935061152e838584610bc9565b82840190509392505050565b6000611547828486611515565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611589600683611350565b915061159482611553565b600682019050919050565b60006115aa8261157c565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115ee82610cf4565b91506115f983610cf4565b925082611609576116086115b4565b5b82820490509291505056fea2646970667358221220f6d7f003e073c4ddb3f97d854af6f6d37edd9fc7728b5c1cbbf09796a676be0664736f6c634300081a0033" } diff --git a/pkg/contracts/testdappv2/TestDAppV2.sol b/pkg/contracts/testdappv2/TestDAppV2.sol index 67e0917120..75fdb6fade 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.sol +++ b/pkg/contracts/testdappv2/TestDAppV2.sol @@ -134,7 +134,7 @@ contract TestDAppV2 { function consumeGas() internal { // Approximate target gas consumption - uint256 targetGas = 300000; + uint256 targetGas = 500000; // Approximate gas cost for a single storage write uint256 storageWriteGasCost = 20000; uint256 iterations = targetGas / storageWriteGasCost;