Remove useless extra data in registry set method

This commit is contained in:
nolash
2021-11-15 14:33:47 +01:00
parent 1ac2ae5d82
commit 6e03dd32ed
3 changed files with 4 additions and 4 deletions

View File

@@ -54,13 +54,13 @@ def test_set(
r = abi_decode_single(ABIContractType.ADDRESS, r)
assert r == registry
(tx_hash_hex, o) = builder.set(registry, roles['CONTRACT_DEPLOYER'], 'ContractRegistry', addr_registry, bogus_hash, bogus_hash)
(tx_hash_hex, o) = builder.set(registry, roles['CONTRACT_DEPLOYER'], 'ContractRegistry', addr_registry)
r = eth_rpc.do(o)
o = receipt(r)
rcpt = eth_rpc.do(o)
assert rcpt['status'] == 0
(tx_hash_hex, o) = builder.set(registry, roles['CONTRACT_DEPLOYER'], 'FooContract', addr_foo, bogus_hash, bogus_hash)
(tx_hash_hex, o) = builder.set(registry, roles['CONTRACT_DEPLOYER'], 'FooContract', addr_foo)
r = eth_rpc.do(o)
o = receipt(r)
rcpt = eth_rpc.do(o)