Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template generator includes tspend that overspends treasury #3184

Open
matheusd opened this issue Sep 12, 2023 · 0 comments
Open

Template generator includes tspend that overspends treasury #3184

matheusd opened this issue Sep 12, 2023 · 0 comments

Comments

@matheusd
Copy link
Member

This makes the generated template not be accepted during its final check and thus the block template cannot be created.

This is only an issue on simnet, where the treasury has a balance that is lower than the maximum spendable during its first policy window.

Sample log line of the failure:

 [TRC] MINR: NewBlockTemplate: failed to do final check for check connect block when making new block template: block contains a TSpend that has an in valid expenditure: treasury balance may not become negative: balance 3431726972864 spend 4100000005100 

(I can probably address this in a few days).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant