Conversation
b2a4067 to
3b56dee
Compare
Collaborator
Author
|
pls update wasm |
grarco
commented
Jan 13, 2023
| replay_protection::get_tx_hash_key(&wrapper.tx_hash); | ||
| if self | ||
| .storage | ||
| .has_key(&inner_hash_key) |
Collaborator
Author
There was a problem hiding this comment.
I could actually use StorageRead::has_key here an everywhere else since, for the moment, I'm not interested in the gas used
tzemanovic
reviewed
Jan 16, 2023
tzemanovic
reviewed
Jan 16, 2023
tzemanovic
reviewed
Jan 16, 2023
tzemanovic
reviewed
Jan 16, 2023
tzemanovic
reviewed
Jan 16, 2023
721162b to
c2b06ea
Compare
c2b06ea to
7e1dacc
Compare
77685b6 to
c030da0
Compare
Collaborator
Author
|
pls update wasm |
78a13f9 to
47ee165
Compare
Merged
fce297e to
074b98a
Compare
42147a1 to
42e056d
Compare
Collaborator
Author
|
pls update wasm |
2700b5f to
48bcb8c
Compare
tzemanovic
approved these changes
Feb 15, 2023
Collaborator
tzemanovic
left a comment
There was a problem hiding this comment.
LGTM, good amount of testing!
juped
added a commit
that referenced
this pull request
Mar 16, 2023
…nto draft-0.15 evil: wl_storage gains a 'static * namada/grarco/replay-protection-impl: [ci] wasm checksums update Updates fees in replay protection specs Brings back sig check in `finalize_block` Fixes fee error code [ci] wasm checksums update Fixes fee in unit tests Fmt Refactors replay protection logic Removes wal from replay protection specs Removes unnecessary clones Fixes tx unsigned hash Replay protection VP always rejects Fixes typos changelog: add #1017 [ci] wasm checksums update Clippy Fmt Updates `process_proposal` unit tests Fixes `finalize_block` and adds unit test Updates replay protection specs with protocol txs Updates `process_proposal` unit tests Removes tx hash from storage in `finalize_block` Fixes error codes Refactors `process_proposal` Replay protection checks in `process_proposal` Fixes replay protection specs Refactors `unsigned_hash_tx` Unit test `mempool_validate` Wrapper commit hash on unsigned inner tx Adds tx hash check in mempool validate Updates replay protections specs with governance and unsigned inner hash Adds replay protection internal address and vp Updates replay protection specs changelog: add #1051 core: added `TempWlStorage` for ABCI++ prepare/process proposal
juped
added a commit
that referenced
this pull request
Mar 16, 2023
…nto draft-0.15 evil: wl_storage gains a 'static * namada/grarco/replay-protection-impl: [ci] wasm checksums update Updates fees in replay protection specs Brings back sig check in `finalize_block` Fixes fee error code [ci] wasm checksums update Fixes fee in unit tests Fmt Refactors replay protection logic Removes wal from replay protection specs Removes unnecessary clones Fixes tx unsigned hash Replay protection VP always rejects Fixes typos changelog: add #1017 [ci] wasm checksums update Clippy Fmt Updates `process_proposal` unit tests Fixes `finalize_block` and adds unit test Updates replay protection specs with protocol txs Updates `process_proposal` unit tests Removes tx hash from storage in `finalize_block` Fixes error codes Refactors `process_proposal` Replay protection checks in `process_proposal` Fixes replay protection specs Refactors `unsigned_hash_tx` Unit test `mempool_validate` Wrapper commit hash on unsigned inner tx Adds tx hash check in mempool validate Updates replay protections specs with governance and unsigned inner hash Adds replay protection internal address and vp Updates replay protection specs changelog: add #1051 core: added `TempWlStorage` for ABCI++ prepare/process proposal
tzemanovic
added a commit
that referenced
this pull request
Mar 31, 2023
* grarco/replay-protection-impl: [ci] wasm checksums update Updates fees in replay protection specs Brings back sig check in `finalize_block` Fixes fee error code [ci] wasm checksums update Fixes fee in unit tests Fmt Refactors replay protection logic Removes wal from replay protection specs Removes unnecessary clones Fixes tx unsigned hash Replay protection VP always rejects Fixes typos changelog: add #1017 [ci] wasm checksums update Clippy Fmt Updates `process_proposal` unit tests Fixes `finalize_block` and adds unit test Updates replay protection specs with protocol txs Updates `process_proposal` unit tests Removes tx hash from storage in `finalize_block` Fixes error codes Refactors `process_proposal` Replay protection checks in `process_proposal` Fixes replay protection specs Refactors `unsigned_hash_tx` Unit test `mempool_validate` Wrapper commit hash on unsigned inner tx Adds tx hash check in mempool validate Updates replay protections specs with governance and unsigned inner hash Adds replay protection internal address and vp Updates replay protection specs
Closed
tzemanovic
added a commit
that referenced
this pull request
Apr 7, 2023
bengtlofgren
pushed a commit
that referenced
this pull request
May 11, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #1009
Based on #1051 for
TempWlStorageImplements hash-based replay protection
WrapperTxcommit to be computed on the hash of the unsigned inner txmempool_validatechecksprocess_proposalchecks and rejects block on most errorsfinalize_blockto store the hash of txs