Skip to content

Add stored deploys to the buffer; delete them when proposing.#91

Closed
afck wants to merge 2 commits intocasper-network:masterfrom
afck:deploy_buffer_add
Closed

Add stored deploys to the buffer; delete them when proposing.#91
afck wants to merge 2 commits intocasper-network:masterfrom
afck:deploy_buffer_add

Conversation

@afck
Copy link
Contributor

@afck afck commented Jul 16, 2020

afck added 2 commits July 16, 2020 15:05
This is a temporary workaround because processed and finalized blocks
are not being tracked yet in the deploy buffer. For now it should
prevent that we propose the same deploy multiple times.
@afck
Copy link
Contributor Author

afck commented Jul 16, 2020

Sorry, that was too quick, the tests failed!

@afck afck closed this Jul 16, 2020
@afck afck deleted the deploy_buffer_add branch July 16, 2020 13:31
mpapierski pushed a commit to mpapierski/casper-node that referenced this pull request Nov 30, 2021
13: skip validity checks for contract/contract-packages by name r=Fraser999 a=Fraser999

This PR changes the `DeployAcceptor` to _not_ validate contracts or contract packages when specified by name rather than hash.  This avoids the situation where a deploy could be deemed valid when checked against global state at a given block, but invalid at the subsequent block's state.

The change is applied regardless of whether the deploy is received from a client or a peer, since the problem is identical in both cases.

Closes [casper-network#91](https://github.com/casper-network/Governance/issues/91).

Co-authored-by: Fraser Hutchison <fraser@casperlabs.io>
rafal-ch pushed a commit to rafal-ch/casper-node that referenced this pull request Oct 26, 2022
…ync-v2

Removing EraValidatorWeights from block_acceptor
afck added a commit that referenced this pull request Nov 15, 2022
91: Fix create_message. r=afck a=afck

Fixes a double-signing bug that was caused by pruning. `create_message` would send messages that it didn't add to the protocol state.

As a precaution, we also stop pruning signatures, and instead just filter out unnecessary ones in `handle_sync_state`.

To fix the upgrade tests we configure the sync state interval to be much shorter than the block time, so that joining nodes have a chance to catch up.

Closes https://github.com/casper-network/Governance/issues/329, https://github.com/casper-network/Governance/issues/242.


Co-authored-by: Andreas Fackler <andreas@casperlabs.io>
rafal-ch pushed a commit that referenced this pull request Sep 11, 2024
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.

2 participants