mirror of
git://holbrook.no/eth-accounts-index
synced 2024-11-27 02:56:46 +01:00
Set alpha signer version
This commit is contained in:
parent
4060101b29
commit
8b7e3335ef
@ -55,12 +55,10 @@ def main():
|
|||||||
if not config.true('_UNSAFE') and subject_address != add_0x(config.get('_ADDRESS')):
|
if not config.true('_UNSAFE') and subject_address != add_0x(config.get('_ADDRESS')):
|
||||||
raise ValueError('invalid checksum address for subject_address')
|
raise ValueError('invalid checksum address for subject_address')
|
||||||
|
|
||||||
|
|
||||||
contract_address = to_checksum_address(config.get('_EXEC_ADDRESS'))
|
contract_address = to_checksum_address(config.get('_EXEC_ADDRESS'))
|
||||||
if not config.true('_UNSAFE') and contract_address != add_0x(config.get('_EXEC_ADDRESS')):
|
if not config.true('_UNSAFE') and contract_address != add_0x(config.get('_EXEC_ADDRESS')):
|
||||||
raise ValueError('invalid checksum address for contract')
|
raise ValueError('invalid checksum address for contract')
|
||||||
|
|
||||||
|
|
||||||
c = AccountRegistry(chain_spec, signer=signer, gas_oracle=gas_oracle, nonce_oracle=nonce_oracle)
|
c = AccountRegistry(chain_spec, signer=signer, gas_oracle=gas_oracle, nonce_oracle=nonce_oracle)
|
||||||
(tx_hash_hex, o) = c.add(contract_address, signer_address, subject_address)
|
(tx_hash_hex, o) = c.add(contract_address, signer_address, subject_address)
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
confini>=0.3.6rc3,<0.5.0
|
confini>=0.3.6rc3,<0.5.0
|
||||||
chainlib-eth>=0.0.7a4,<=0.1.0
|
chainlib-eth>=0.0.9a2,<=0.1.0
|
||||||
crypto-dev-signer>=0.4.14b7,<=0.4.14
|
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-accounts-index
|
name = eth-accounts-index
|
||||||
version = 0.1.1a1
|
version = 0.1.2a2
|
||||||
description = Accounts index evm contract tooling with permissioned writes
|
description = Accounts index evm contract tooling with permissioned writes
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user