Set alpha signer version

This commit is contained in:
nolash 2021-08-24 21:20:11 +02:00
parent 4060101b29
commit 8b7e3335ef
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 3 additions and 5 deletions

View File

@ -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)

View File

@ -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

View File

@ -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