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

fix(mempool): pool cycles not reset on next mem block for readonly node #781

Conversation

zeroqn
Copy link
Contributor

@zeroqn zeroqn commented Aug 12, 2022

No description provided.

@gw-bot

This comment was marked as outdated.

@zeroqn zeroqn requested review from Flouse, magicalne and blckngm August 12, 2022 07:29
Flouse
Flouse previously approved these changes Aug 12, 2022
blckngm
blckngm previously approved these changes Aug 12, 2022
@zeroqn zeroqn changed the base branch from v1.5-rc to develop August 12, 2022 07:37
@zeroqn zeroqn dismissed stale reviews from blckngm and Flouse August 12, 2022 07:37

The base branch was changed.

Flouse
Flouse previously approved these changes Aug 12, 2022
magicalne
magicalne previously approved these changes Aug 12, 2022
Right now, fullnode publish tx only after finalization. But we should
not depend on this behaviour.

For readonly node, we should verify cylces instead of blindly trust
fullnode.
@zeroqn zeroqn dismissed stale reviews from magicalne and Flouse via dbb1ae1 August 12, 2022 08:40
@gw-bot

This comment was marked as outdated.

In case we migrate to dynamic config in the future
@gw-bot
Copy link

gw-bot bot commented Aug 12, 2022

Running integration test

Workflow Run Id: 2845569683

Components:

Manually running integration test

Post a comment contains

/itest
[prebuilds: tag]
[godwoken: branch/ref]
[scripts: branch/ref]
[polyjuice: branch/ref]
[web3: branch/ref]
[kicker: branch/ref]
[tests: branch/ref]

Note: [] means optional, for example

/itest
prebuilds: dev-202203280240
godwoken: develop
scripts: 81676d9d53ffdf5bbaa60483928d07da16eb4a88
polyjuice: e37553b9

Run Result

success

@zeroqn zeroqn requested review from Flouse, magicalne and blckngm August 12, 2022 08:50
@zeroqn zeroqn changed the base branch from develop to v1.5-rc August 12, 2022 08:57
@zeroqn zeroqn merged commit 992c887 into godwokenrises:v1.5-rc Aug 12, 2022
Flouse added a commit that referenced this pull request Aug 15, 2022
…de (#781)

* fix(mempool): pool cycles not reset on next mem block for readonly node (#781)
* fix(mempool): verify txs from fullnode

Right now, fullnode publish tx only after finalization. But we should
not depend on this behaviour.

For readonly node, we should verify cylces instead of blindly trust
fullnode.

* refactor(mempool): recreate cycles pool from config

In case we migrate to dynamic config in the future
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

Successfully merging this pull request may close these issues.

4 participants