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

Removed unused last_block_num from producer_pay #111

Closed
ericpassmore opened this issue Jan 21, 2025 · 2 comments
Closed

Removed unused last_block_num from producer_pay #111

ericpassmore opened this issue Jan 21, 2025 · 2 comments

Comments

@ericpassmore
Copy link
Contributor

Remove this unused update. This has been here since 2019.

// _gstate2.last_block_num is not used anywhere in the system contract code anymore.
// Although this field is deprecated, we will continue updating it for now until the last_block_num field
// is eventually completely removed, at which point this line can be removed.
_gstate2.last_block_num = timestamp;

@ericpassmore
Copy link
Contributor Author

This also shows up in the ABI for tests/test_contracts/old_versions, and assume we would keep the old versions unchanged.

@ericpassmore
Copy link
Contributor Author

moved to eosnetworkfoundation/eos-system-contracts

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