Skip to content

Ensure e2e network tests can't spend coinbase #2

@ClaytonNorthey92

Description

@ClaytonNorthey92

Confirmation

  • I have checked for similar issues.

Describe the bug

As of now, we generate N=300 blocks to fund pop miner's address. This causes a chance that we spend the coinbase, and we get this error:

bfg: bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 79

let's come up with a method so that the pop miner has no chance of using coinbase

Expected behaviour

pop miner not able to prematurely spend coinbase

Environment

This can be reproduced in the Github Action

Version:
Operating System:
Architecture:

Additional Information

No response

Metadata

Metadata

Labels

area: hemictlThis is a change to hemictlstatus: in reviewThis has been resolved by a pull request that is awaiting reviewtype: bugThis is a bugtype: testThis adds or improves test coverage

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions