Skip to content

Commit

Permalink
Re-compile test contracts with Solidity v0.8.20
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed May 12, 2023
1 parent 64b9b11 commit 4729a3b
Show file tree
Hide file tree
Showing 18 changed files with 66 additions and 66 deletions.
6 changes: 3 additions & 3 deletions web3/_utils/contract_sources/contract_data/arrays_contract.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions web3/_utils/contract_sources/contract_data/bytes_contracts.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""
Generated by `compile_contracts.py` script.
Compiled with Solidity v0.8.19.
Compiled with Solidity v0.8.20.
"""

# source: web3/_utils/contract_sources/ConstructorContracts.sol:SimpleConstructorContract # noqa: E501
SIMPLE_CONSTRUCTOR_CONTRACT_BYTECODE = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea264697066735822122059abb498a58b8a64c7139393e325cb4efbf87e2ad05e76a9bb1554f94c57f38764736f6c63430008130033" # noqa: E501
SIMPLE_CONSTRUCTOR_CONTRACT_RUNTIME = "0x6080604052600080fdfea264697066735822122059abb498a58b8a64c7139393e325cb4efbf87e2ad05e76a9bb1554f94c57f38764736f6c63430008130033" # noqa: E501
SIMPLE_CONSTRUCTOR_CONTRACT_BYTECODE = "0x6080604052348015600e575f80fd5b50603e80601a5f395ff3fe60806040525f80fdfea264697066735822122012ecdbcdd6cc4f577900d4a31f5a9598df06995235dae4ae1e2a391bf80a6ad264736f6c63430008140033" # noqa: E501
SIMPLE_CONSTRUCTOR_CONTRACT_RUNTIME = "0x60806040525f80fdfea264697066735822122012ecdbcdd6cc4f577900d4a31f5a9598df06995235dae4ae1e2a391bf80a6ad264736f6c63430008140033" # noqa: E501
SIMPLE_CONSTRUCTOR_CONTRACT_ABI = [
{"inputs": [], "stateMutability": "nonpayable", "type": "constructor"}
]
Expand All @@ -17,8 +17,8 @@


# source: web3/_utils/contract_sources/ConstructorContracts.sol:ConstructorWithArgumentsContract # noqa: E501
CONSTRUCTOR_WITH_ARGUMENTS_CONTRACT_BYTECODE = "0x608060405234801561001057600080fd5b50604051610214380380610214833981810160405281019061003291906100b8565b816000819055508060018190555050506100f8565b600080fd5b6000819050919050565b61005f8161004c565b811461006a57600080fd5b50565b60008151905061007c81610056565b92915050565b6000819050919050565b61009581610082565b81146100a057600080fd5b50565b6000815190506100b28161008c565b92915050565b600080604083850312156100cf576100ce610047565b5b60006100dd8582860161006d565b92505060206100ee858286016100a3565b9150509250929050565b61010d806101076000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806388ec1346146037578063d4c46c76146051575b600080fd5b603d606b565b60405160489190608e565b60405180910390f35b60576071565b6040516062919060be565b60405180910390f35b60005481565b60015481565b6000819050919050565b6088816077565b82525050565b600060208201905060a160008301846081565b92915050565b6000819050919050565b60b88160a7565b82525050565b600060208201905060d1600083018460b1565b9291505056fea2646970667358221220d59463714be22b6ef7ac4ea1c9a2649286c98430ecda1b5ad84e64f73fbf97bb64736f6c63430008130033" # noqa: E501
CONSTRUCTOR_WITH_ARGUMENTS_CONTRACT_RUNTIME = "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806388ec1346146037578063d4c46c76146051575b600080fd5b603d606b565b60405160489190608e565b60405180910390f35b60576071565b6040516062919060be565b60405180910390f35b60005481565b60015481565b6000819050919050565b6088816077565b82525050565b600060208201905060a160008301846081565b92915050565b6000819050919050565b60b88160a7565b82525050565b600060208201905060d1600083018460b1565b9291505056fea2646970667358221220d59463714be22b6ef7ac4ea1c9a2649286c98430ecda1b5ad84e64f73fbf97bb64736f6c63430008130033" # noqa: E501
CONSTRUCTOR_WITH_ARGUMENTS_CONTRACT_BYTECODE = "0x608060405234801561000f575f80fd5b506040516101fd3803806101fd833981810160405281019061003191906100af565b815f819055508060018190555050506100ed565b5f80fd5b5f819050919050565b61005b81610049565b8114610065575f80fd5b50565b5f8151905061007681610052565b92915050565b5f819050919050565b61008e8161007c565b8114610098575f80fd5b50565b5f815190506100a981610085565b92915050565b5f80604083850312156100c5576100c4610045565b5b5f6100d285828601610068565b92505060206100e38582860161009b565b9150509250929050565b610103806100fa5f395ff3fe6080604052348015600e575f80fd5b50600436106030575f3560e01c806388ec1346146034578063d4c46c7614604e575b5f80fd5b603a6068565b604051604591906089565b60405180910390f35b6054606d565b604051605f919060b6565b60405180910390f35b5f5481565b60015481565b5f819050919050565b6083816073565b82525050565b5f602082019050609a5f830184607c565b92915050565b5f819050919050565b60b08160a0565b82525050565b5f60208201905060c75f83018460a9565b9291505056fea2646970667358221220605cf878f0fbb3ee5e94e8de43849d105ac50df572f1b07980500c444e3f6e9b64736f6c63430008140033" # noqa: E501
CONSTRUCTOR_WITH_ARGUMENTS_CONTRACT_RUNTIME = "0x6080604052348015600e575f80fd5b50600436106030575f3560e01c806388ec1346146034578063d4c46c7614604e575b5f80fd5b603a6068565b604051604591906089565b60405180910390f35b6054606d565b604051605f919060b6565b60405180910390f35b5f5481565b60015481565b5f819050919050565b6083816073565b82525050565b5f602082019050609a5f830184607c565b92915050565b5f819050919050565b60b08160a0565b82525050565b5f60208201905060c75f83018460a9565b9291505056fea2646970667358221220605cf878f0fbb3ee5e94e8de43849d105ac50df572f1b07980500c444e3f6e9b64736f6c63430008140033" # noqa: E501
CONSTRUCTOR_WITH_ARGUMENTS_CONTRACT_ABI = [
{
"inputs": [
Expand Down Expand Up @@ -51,8 +51,8 @@


# source: web3/_utils/contract_sources/ConstructorContracts.sol:ConstructorWithAddressArgumentContract # noqa: E501
CONSTRUCTOR_WITH_ADDRESS_ARGUMENT_CONTRACT_BYTECODE = "0x608060405234801561001057600080fd5b5060405161020d38038061020d833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b60f7806101166000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806334664e3a14602d575b600080fd5b60336047565b604051603e919060a8565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000609482606b565b9050919050565b60a281608b565b82525050565b600060208201905060bb6000830184609b565b9291505056fea26469706673582212202163673b7255f6a02361134ec5f1ddfb92101c44d12922f841e949ebd2787e8864736f6c63430008130033" # noqa: E501
CONSTRUCTOR_WITH_ADDRESS_ARGUMENT_CONTRACT_RUNTIME = "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806334664e3a14602d575b600080fd5b60336047565b604051603e919060a8565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000609482606b565b9050919050565b60a281608b565b82525050565b600060208201905060bb6000830184609b565b9291505056fea26469706673582212202163673b7255f6a02361134ec5f1ddfb92101c44d12922f841e949ebd2787e8864736f6c63430008130033" # noqa: E501
CONSTRUCTOR_WITH_ADDRESS_ARGUMENT_CONTRACT_BYTECODE = "0x608060405234801561000f575f80fd5b506040516101fa3803806101fa833981810160405281019061003191906100d4565b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506100ff565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100a38261007a565b9050919050565b6100b381610099565b81146100bd575f80fd5b50565b5f815190506100ce816100aa565b92915050565b5f602082840312156100e9576100e8610076565b5b5f6100f6848285016100c0565b91505092915050565b60ef8061010b5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c806334664e3a14602a575b5f80fd5b60306044565b604051603b919060a2565b60405180910390f35b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f608e826067565b9050919050565b609c816086565b82525050565b5f60208201905060b35f8301846095565b9291505056fea26469706673582212202250337f0c250bf5cf3fa7a5db19244d27f964450a536f014297602192efa03364736f6c63430008140033" # noqa: E501
CONSTRUCTOR_WITH_ADDRESS_ARGUMENT_CONTRACT_RUNTIME = "0x6080604052348015600e575f80fd5b50600436106026575f3560e01c806334664e3a14602a575b5f80fd5b60306044565b604051603b919060a2565b60405180910390f35b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f608e826067565b9050919050565b609c816086565b82525050565b5f60208201905060b35f8301846095565b9291505056fea26469706673582212202250337f0c250bf5cf3fa7a5db19244d27f964450a536f014297602192efa03364736f6c63430008140033" # noqa: E501
CONSTRUCTOR_WITH_ADDRESS_ARGUMENT_CONTRACT_ABI = [
{
"inputs": [{"internalType": "address", "name": "_testAddr", "type": "address"}],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""
Generated by `compile_contracts.py` script.
Compiled with Solidity v0.8.19.
Compiled with Solidity v0.8.20.
"""

# source: web3/_utils/contract_sources/ContractCallerTester.sol:ContractCallerTester
CONTRACT_CALLER_TESTER_BYTECODE = "0x608060405234801561001057600080fd5b50610458806100206000396000f3fe60806040526004361061004a5760003560e01c806306661abd1461004f57806361bc221a1461007a578063a5f3c23b14610098578063c7fa7d66146100c8578063d09de08a146100ea575b600080fd5b34801561005b57600080fd5b50610064610115565b60405161007191906101df565b60405180910390f35b61008261011b565b60405161008f91906101df565b60405180910390f35b6100b260048036038101906100ad919061022b565b610124565b6040516100bf91906101df565b60405180910390f35b6100d061013a565b6040516100e1959493929190610355565b60405180910390f35b3480156100f657600080fd5b506100ff6101a7565b60405161010c91906101df565b60405180910390f35b60005481565b60008054905090565b6000818361013291906103de565b905092915050565b600060606000806000336000365a344384848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505093509091929350945094509450945094509091929394565b600060016000808282546101bb91906103de565b925050819055905090565b6000819050919050565b6101d9816101c6565b82525050565b60006020820190506101f460008301846101d0565b92915050565b600080fd5b610208816101c6565b811461021357600080fd5b50565b600081359050610225816101ff565b92915050565b60008060408385031215610242576102416101fa565b5b600061025085828601610216565b925050602061026185828601610216565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102968261026b565b9050919050565b6102a68161028b565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156102e65780820151818401526020810190506102cb565b60008484015250505050565b6000601f19601f8301169050919050565b600061030e826102ac565b61031881856102b7565b93506103288185602086016102c8565b610331816102f2565b840191505092915050565b6000819050919050565b61034f8161033c565b82525050565b600060a08201905061036a600083018861029d565b818103602083015261037c8187610303565b905061038b6040830186610346565b6103986060830185610346565b6103a56080830184610346565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006103e9826101c6565b91506103f4836101c6565b92508282019050828112156000831216838212600084121516171561041c5761041b6103af565b5b9291505056fea26469706673582212200d898dac1fb4d379c02eb5a80e3cd572f005544ef7e2d010b3f8ba59e83df88364736f6c63430008130033" # noqa: E501
CONTRACT_CALLER_TESTER_RUNTIME = "0x60806040526004361061004a5760003560e01c806306661abd1461004f57806361bc221a1461007a578063a5f3c23b14610098578063c7fa7d66146100c8578063d09de08a146100ea575b600080fd5b34801561005b57600080fd5b50610064610115565b60405161007191906101df565b60405180910390f35b61008261011b565b60405161008f91906101df565b60405180910390f35b6100b260048036038101906100ad919061022b565b610124565b6040516100bf91906101df565b60405180910390f35b6100d061013a565b6040516100e1959493929190610355565b60405180910390f35b3480156100f657600080fd5b506100ff6101a7565b60405161010c91906101df565b60405180910390f35b60005481565b60008054905090565b6000818361013291906103de565b905092915050565b600060606000806000336000365a344384848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505093509091929350945094509450945094509091929394565b600060016000808282546101bb91906103de565b925050819055905090565b6000819050919050565b6101d9816101c6565b82525050565b60006020820190506101f460008301846101d0565b92915050565b600080fd5b610208816101c6565b811461021357600080fd5b50565b600081359050610225816101ff565b92915050565b60008060408385031215610242576102416101fa565b5b600061025085828601610216565b925050602061026185828601610216565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102968261026b565b9050919050565b6102a68161028b565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156102e65780820151818401526020810190506102cb565b60008484015250505050565b6000601f19601f8301169050919050565b600061030e826102ac565b61031881856102b7565b93506103288185602086016102c8565b610331816102f2565b840191505092915050565b6000819050919050565b61034f8161033c565b82525050565b600060a08201905061036a600083018861029d565b818103602083015261037c8187610303565b905061038b6040830186610346565b6103986060830185610346565b6103a56080830184610346565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006103e9826101c6565b91506103f4836101c6565b92508282019050828112156000831216838212600084121516171561041c5761041b6103af565b5b9291505056fea26469706673582212200d898dac1fb4d379c02eb5a80e3cd572f005544ef7e2d010b3f8ba59e83df88364736f6c63430008130033" # noqa: E501
CONTRACT_CALLER_TESTER_BYTECODE = "0x608060405234801561000f575f80fd5b506104328061001d5f395ff3fe608060405260043610610049575f3560e01c806306661abd1461004d57806361bc221a14610077578063a5f3c23b14610095578063c7fa7d66146100c5578063d09de08a146100e7575b5f80fd5b348015610058575f80fd5b50610061610111565b60405161006e91906101d0565b60405180910390f35b61007f610116565b60405161008c91906101d0565b60405180910390f35b6100af60048036038101906100aa9190610217565b61011e565b6040516100bc91906101d0565b60405180910390f35b6100cd610133565b6040516100de959493929190610336565b60405180910390f35b3480156100f2575f80fd5b506100fb61019b565b60405161010891906101d0565b60405180910390f35b5f5481565b5f8054905090565b5f818361012b91906103bb565b905092915050565b5f60605f805f335f365a344384848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505093509091929350945094509450945094509091929394565b5f60015f808282546101ad91906103bb565b925050819055905090565b5f819050919050565b6101ca816101b8565b82525050565b5f6020820190506101e35f8301846101c1565b92915050565b5f80fd5b6101f6816101b8565b8114610200575f80fd5b50565b5f81359050610211816101ed565b92915050565b5f806040838503121561022d5761022c6101e9565b5b5f61023a85828601610203565b925050602061024b85828601610203565b9150509250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61027e82610255565b9050919050565b61028e81610274565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156102cb5780820151818401526020810190506102b0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6102f082610294565b6102fa818561029e565b935061030a8185602086016102ae565b610313816102d6565b840191505092915050565b5f819050919050565b6103308161031e565b82525050565b5f60a0820190506103495f830188610285565b818103602083015261035b81876102e6565b905061036a6040830186610327565b6103776060830185610327565b6103846080830184610327565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6103c5826101b8565b91506103d0836101b8565b92508282019050828112155f8312168382125f8412151617156103f6576103f561038e565b5b9291505056fea2646970667358221220ef2d891a0200f81a51de153dbf6bc565137d55d2c31be811776a9ad9d5a84a7964736f6c63430008140033" # noqa: E501
CONTRACT_CALLER_TESTER_RUNTIME = "0x608060405260043610610049575f3560e01c806306661abd1461004d57806361bc221a14610077578063a5f3c23b14610095578063c7fa7d66146100c5578063d09de08a146100e7575b5f80fd5b348015610058575f80fd5b50610061610111565b60405161006e91906101d0565b60405180910390f35b61007f610116565b60405161008c91906101d0565b60405180910390f35b6100af60048036038101906100aa9190610217565b61011e565b6040516100bc91906101d0565b60405180910390f35b6100cd610133565b6040516100de959493929190610336565b60405180910390f35b3480156100f2575f80fd5b506100fb61019b565b60405161010891906101d0565b60405180910390f35b5f5481565b5f8054905090565b5f818361012b91906103bb565b905092915050565b5f60605f805f335f365a344384848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f8201169050808301925050505050505093509091929350945094509450945094509091929394565b5f60015f808282546101ad91906103bb565b925050819055905090565b5f819050919050565b6101ca816101b8565b82525050565b5f6020820190506101e35f8301846101c1565b92915050565b5f80fd5b6101f6816101b8565b8114610200575f80fd5b50565b5f81359050610211816101ed565b92915050565b5f806040838503121561022d5761022c6101e9565b5b5f61023a85828601610203565b925050602061024b85828601610203565b9150509250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61027e82610255565b9050919050565b61028e81610274565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156102cb5780820151818401526020810190506102b0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6102f082610294565b6102fa818561029e565b935061030a8185602086016102ae565b610313816102d6565b840191505092915050565b5f819050919050565b6103308161031e565b82525050565b5f60a0820190506103495f830188610285565b818103602083015261035b81876102e6565b905061036a6040830186610327565b6103776060830185610327565b6103846080830184610327565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6103c5826101b8565b91506103d0836101b8565b92508282019050828112155f8312168382125f8412151617156103f6576103f561038e565b5b9291505056fea2646970667358221220ef2d891a0200f81a51de153dbf6bc565137d55d2c31be811776a9ad9d5a84a7964736f6c63430008140033" # noqa: E501
CONTRACT_CALLER_TESTER_ABI = [
{
"inputs": [
Expand Down
Loading

0 comments on commit 4729a3b

Please sign in to comment.