mirror of
git://holbrook.no/eth-contract-registry
synced 2026-04-27 11:11:05 +02:00
Remove useless extra data in registry set method
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user