Unable to register twice for same local subnet
Describe the bug
Second registration to new subnet fails with
SubstrateRequestException: {'code': 1010, 'message': 'Invalid Transaction', 'data': 'Transaction would exhaust the block limits'}
To Reproduce
- start localnet.sh
- register two wallets
- register new subnet
- register wallet 1 with subnet
- register wallet 2 with subnet step 5 causes SubstrateRequestException: {'code' 1010, 'message':'Invalid Transaction', 'data': 'Transaction would exhaust the block limits'}
Expected behavior
Registration as normal (works on branch main)
Screenshots
No response
Environment
Ubuntu 20.04, development branch
Additional context
I have a Dockerfile that builds this repo from git, then deploys some wallets and registers a subnet, a miner and a validator. On more recent versions of this repo, this pipeline breaks at the validator registration step with the above mentioned error.
Tested also on two different machines.
Seems you need to adjust hyperparameters to be able to register in short succession https://github.com/opentensor/bittensor/pull/1943/files/0115dfe1b32d5d98465a2f1aff882590357a9e70#r1615953975