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

Murisi/fix tx malleability draft2 #1639

Closed
wants to merge 182 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
932156c
Drafting
batconjurer Mar 29, 2023
3aa2856
Fixed errors in core
batconjurer Mar 29, 2023
d2d3665
temp
batconjurer Apr 1, 2023
faedfed
Some more fixes for amount types in the client code
batconjurer Apr 3, 2023
0082f2b
core/token: add `fn zero`
tzemanovic Apr 4, 2023
a468d49
core/token: add `write_denom`
tzemanovic Apr 4, 2023
6bb685d
core/transaction/wrapper: add a todo for later
tzemanovic Apr 4, 2023
f17e75e
app/shell: use token::Amount::native_whole for min fee conversion
tzemanovic Apr 4, 2023
8a64466
core/token: make conv from Amount to u128 falliable
tzemanovic Apr 4, 2023
de17218
WIP: shared/pos: update token to TM voting power conv
tzemanovic Apr 4, 2023
819f319
Fixed most of the masp compile issues. May not be logically correct yet
batconjurer Apr 6, 2023
92976fd
[feat]: First compiling refactor. Now for testing
batconjurer Apr 11, 2023
b651787
[feat]: Fixed unit tests
batconjurer Apr 12, 2023
2356c5d
[chore]: Formatting
batconjurer Apr 12, 2023
b244e1b
[chore]: Added test coverage for new token types and fixed the bugs t…
batconjurer Apr 13, 2023
b58d49b
[fix]: Fixed some conversions to amounts in tests. Fixed PoS state ma…
batconjurer Apr 13, 2023
8efcc32
[fix]: Fixed the router tests
batconjurer Apr 13, 2023
70702a1
[fix]: Cleanup up the wasms
batconjurer Apr 13, 2023
86698a9
[feat]: Added sub-prefixs to denom storage read/writes
batconjurer Apr 17, 2023
5d10c6c
[fix]: Fixed wasm tests
batconjurer Apr 17, 2023
bed746d
[chore] Merging in main
batconjurer Apr 19, 2023
8c977cc
[chore]: Merging in main
batconjurer Apr 19, 2023
a8d9b72
[feat]: Added multitoken support to MASP
batconjurer Apr 21, 2023
33b2bf0
[fix]: Fixed makefile recipes for abcipp
batconjurer Apr 21, 2023
9d20a96
[feat]: Replaced u128 in governance with u256
batconjurer Apr 24, 2023
adaf3a1
[fix]: Incorporating in review suggestions
batconjurer Apr 25, 2023
acc79d2
[fix]: Refactored gen_sheilded_transfer to only denominate amounts at…
batconjurer Apr 25, 2023
1e3e77d
Update query_sheilded_balance to handle the multiple denominations
mariari Apr 25, 2023
e71cd44
Update query_sheilded_balance to handle the multiple denominations
mariari Apr 25, 2023
88b6ae1
Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …
batconjurer Apr 25, 2023
8de6a44
Starting replacing rust_decimal crate in PoS
batconjurer Apr 25, 2023
8920d0a
WIP continue replacing rust_decimal crate in PoS
brentstone Apr 25, 2023
b0419f5
[fix]: Added tests for Dec, fixed division bug, cleaned up from_str m…
batconjurer Apr 26, 2023
bb93c85
[chore]: Added more tests and fixes
batconjurer Apr 26, 2023
1968660
WIP more `Dec` integration and testing (compiling!)
brentstone Apr 26, 2023
7fbd9c6
WIP fixing pos unit tests
brentstone Apr 26, 2023
32b69e9
Fix pos unit tests, change `Dec` precision to 12 places
brentstone Apr 28, 2023
95419c3
Merge branch 'main' into bat/feature/uint256_amount
batconjurer May 1, 2023
62cc6ec
[fix]: Fixed proptest in PoS, removed rust_decimal from core and pos …
batconjurer May 1, 2023
c2c66cc
[chore]: Removed rust_decimal and rust_decimal_macro deps from project
batconjurer May 1, 2023
c97a9e9
Fix Key from always parsing
mariari May 10, 2023
26413ec
Fixing Masp Amounts to convert on the edges
mariari May 1, 2023
e218999
Remove all references to Masp::Amount out of RPC
mariari May 4, 2023
f6d0f62
Gensis Parsing config issue solved
mariari May 5, 2023
997ff52
Improve dec display method
mariari May 5, 2023
8f7270a
Fix u64 going to Dec from overflowing
mariari May 5, 2023
85a82b4
Temporary remove check for chain id verification
mariari May 9, 2023
bfb81af
Remove signed conversion errors
mariari May 9, 2023
79133e4
Fix underflow issue in commisions
mariari May 10, 2023
b1f4063
Merge branch 'mariari/key-parsing-fix' into bat/feature/uint256_amount
mariari May 10, 2023
ecb135c
Add a new destination for ibc rpc endpoint
mariari May 10, 2023
c09dd7e
Removed denominated from being called from user contracts
mariari May 10, 2023
34e5be7
WIP fix `pos_bonds`
brentstone May 11, 2023
fcaa11a
refactor `Dec` to allow negative values
brentstone May 12, 2023
2584aa2
Merge remote-tracking branch 'origin/base' into HEAD
mariari May 20, 2023
f855fd1
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped May 21, 2023
bcfcd32
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped May 21, 2023
d9d2654
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped May 22, 2023
eb81893
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped May 22, 2023
d481cfa
compiles
juped May 22, 2023
42de040
some test fixes
juped May 22, 2023
5801ef5
minor stuff again
juped May 22, 2023
48a27dc
dubious e2e fixes
juped May 23, 2023
aebb5f5
we don't take separators anymore whoops
juped May 24, 2023
f09312e
disambiguate token denom and ibc denom
juped May 24, 2023
55591d5
force 0 ibc denoms
juped May 24, 2023
9be7ef8
stupid test fix: add six zeroes
juped May 24, 2023
f558899
fix IBC stuff, IBC e2e test still failed
yito88 May 25, 2023
43ce2af
fix ledger e2e tests
juped May 25, 2023
ae4eb81
set NATIVE_MAX_DECIMAL_PLACES if denom isn't stored
yito88 May 25, 2023
41b6267
unsorted wips on e2e
juped May 29, 2023
6e5782b
WIP fixing masp amounts
batconjurer May 30, 2023
5053330
WIP fixing masp incentives
batconjurer Jun 1, 2023
cdde306
WIP fixed bug in collecting unspent notes
batconjurer Jun 1, 2023
16b17cc
WIP
batconjurer Jun 2, 2023
087341d
WIP fixing masp incentives
batconjurer Jun 1, 2023
ffd72ec
WIP fixed bug in collecting unspent notes
batconjurer Jun 1, 2023
b4f616b
WIP
batconjurer Jun 2, 2023
5dba8ab
Undo aggregate_conversions and related changes
juped Jun 2, 2023
d2a07ed
WIP small bug fixes and a debugger can be attached
batconjurer Jun 2, 2023
5d5772d
WIP fixed unspent note calcs
batconjurer Jun 5, 2023
057b4d3
WIP masp incentives passes. But I did something reckless to get there.
batconjurer Jun 7, 2023
1899e65
WIP fixed masp incentives
batconjurer Jun 7, 2023
b380c20
Masp e2e tests now passing
batconjurer Jun 9, 2023
61e9bd6
[fix]: Fixed serialization bug with amounts. Fixed remaining masp e2e…
batconjurer Jun 11, 2023
38e514c
[chore] Fixed clippy and formatting
batconjurer Jun 11, 2023
2cf1e76
Merge remote-tracking branch 'origin/mariari/amount-WIP' into bat/fea…
mariari Jun 13, 2023
1b39e98
[fix]: Merged in ibc fixes
batconjurer Jun 14, 2023
51c5423
[chore]: merged in v17
batconjurer Jun 14, 2023
5eea244
[fix]: Fixed unit tests other than flaky pos test
batconjurer Jun 15, 2023
cb5a547
[fix]: Cleanup imports
batconjurer Jun 15, 2023
637e2f8
WIP merging in v0.17.2
batconjurer Jun 16, 2023
ade4786
Increased the number of init-proposal and vote-proposal test vectors.…
Jun 17, 2023
85b36fd
[fix]: Removed problematic dep so that wasms load correctly
batconjurer Jun 18, 2023
5367124
Now moving proposal code into extra section.
Jun 17, 2023
d832ea8
Added CLI subcommand for validator change commission. Cleared up the …
Jun 19, 2023
65cc5bb
Now sign over all sections in transactions.
Jun 16, 2023
869798f
[fix]: Fixed test wasm code for e2e tests
batconjurer Jun 20, 2023
3ec182e
[fix]: Finalize block no longer marks undecryptable txs as valid
batconjurer Jun 20, 2023
b1af386
fix IBC prefixed balance
yito88 Jun 20, 2023
40e24a9
beginning changes
brentstone Jun 15, 2023
fd19035
pos/lib: update logic in `update_validator_set`
brentstone Jun 15, 2023
6b264da
remove outdated comments
brentstone Jun 16, 2023
53e7706
pos/lib: fix `init_genesis`
brentstone Jun 16, 2023
ceac3c0
pos/state_machine: update test with new validator set
brentstone Jun 16, 2023
5ea107c
pos/lib: update `validator_set_update_tendermint`
brentstone Jun 17, 2023
2d80171
pos/tests: fix broken unit tests
brentstone Jun 17, 2023
fa2f5c9
fix wasm tx tests
brentstone Jun 17, 2023
d5789df
WIP fixing other pos unit tests
brentstone Jun 17, 2023
ce3f0a4
PoS: delay slash validator set update when next epoch is done in TM
tzemanovic Jun 16, 2023
ece8e6e
changelog: add #1582
tzemanovic Jun 19, 2023
8edc06c
core/key/secp256k1: enable sig verification for WASM
tzemanovic Jun 20, 2023
ddf7d35
test/e2e: add a test with an account derived from secp256k1 key
tzemanovic Jun 20, 2023
093141e
[ci] wasm checksums update
github-actions[bot] Jun 21, 2023
c4b60a8
changelog: add #1599
tzemanovic Jun 21, 2023
7d2ff4f
Update clap to latest v3
karbyshev Jun 12, 2023
b455aa4
Update clap to latest v4
karbyshev Jun 16, 2023
680ea7d
Enable color output
karbyshev Jun 16, 2023
61fb64e
Add changelog
karbyshev Jun 16, 2023
21ece22
removing below-threshold validators from storage
brentstone Jun 20, 2023
f4c183a
pos/lib: refactor `validator_set_update_tendermint`
brentstone Jun 20, 2023
c5651c0
pos/tests: improve `arb_genesis_validators` to consider a stake thres…
brentstone Jun 20, 2023
0fac50c
fix pos unit tests
brentstone Jun 21, 2023
a41c417
changelog: add #1576
brentstone Jun 21, 2023
6926d60
[ci] wasm checksums update
github-actions[bot] Jun 21, 2023
af46c9c
Merge branch 'brent/add-below-threshold-validators' (#1576)
tzemanovic Jun 21, 2023
607f0d8
apps: add tracing-appender for log to files and rolling logs
tzemanovic Jun 16, 2023
2ef9987
changelog: add #1578
tzemanovic Jun 16, 2023
9c3bc18
Merge branch 'tomas/tracing-appender' (#1578)
tzemanovic Jun 21, 2023
cbfcffd
Merge branch 'aleks/clap-up-v4' (#1580)
tzemanovic Jun 21, 2023
7fb39dd
Merge branch 'tomas/slash-validator-delay-set-update' (#1582)
tzemanovic Jun 21, 2023
651a36c
deps: update wasmer and wasmparser crates
tzemanovic Jun 21, 2023
63371e1
Merge branch 'tomas/wasm-secp256k1-sig' (#1599)
tzemanovic Jun 21, 2023
5636c66
[chore]: Formatting
batconjurer Jun 21, 2023
6bc3dcb
Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …
batconjurer Jun 21, 2023
676a5ed
Fixed the tests involving transaction signing.
Jun 20, 2023
1274d1a
Fixed clippy and formatting issues.
Jun 21, 2023
3d2e91c
fix `pos_state_machine_test`
brentstone Jun 21, 2023
43ea381
wasm: switch to wasm-instrument for stack limiter
tzemanovic Jun 22, 2023
6c45349
wasm: switch to wasm-instrument for gas metering
tzemanovic Jun 22, 2023
001b887
deps: remove pwasm-utils
tzemanovic Jun 22, 2023
a4ae373
cli: add a missing chain ID arg
tzemanovic Jun 22, 2023
874a02a
Merged in 0.17.4.
Jun 22, 2023
2c7c5f2
changelog: add #1604
tzemanovic Jun 22, 2023
e255f88
Merge branch 'aleks/clap-up-v4' (#1580)
tzemanovic Jun 22, 2023
abee231
Merge branch 'tomas/update-wasmer-wasmparser' (#1604)
tzemanovic Jun 22, 2023
3bf41d5
test/ledger/storage/rocksdb: add a test for prefix iter
tzemanovic Jun 23, 2023
82a07d8
ledger/storage/rocksdb: fix iterator without prefix
tzemanovic Jun 23, 2023
d03071c
ledger/storage/rocksdb: refactor prefix iter code
tzemanovic Jun 23, 2023
97c3418
changelog: add #1615
tzemanovic Jun 23, 2023
5ca18bc
test/ledger/storage/rocksdb: add a test for block rollback
tzemanovic Jun 23, 2023
557fb3a
ledger/storage/rocksdb: fix rollback to restore deleted keys
tzemanovic Jun 23, 2023
7737db5
Merged in v0.17.4.
murisi Jun 23, 2023
7eef159
Adjusted expected gas usage in proposal test.
murisi Jun 23, 2023
ef34267
VPs now check that code and data are signed together.
murisi Jun 25, 2023
1819d16
Make the signature section unmalleable.
murisi Jun 25, 2023
4531c26
[NOTE] Building wasm with wasm-opt ^112 fixes wasm bugs
batconjurer Jun 26, 2023
f4c9079
[fix]: Fixed masp tx deserialization issue
batconjurer Jun 26, 2023
72d8e9d
[fix]: Fixed masp e2e test that tests transfers and queries
batconjurer Jun 26, 2023
a3a8bbc
Expanded validate_header to check for signature over all sections, an…
murisi Jun 27, 2023
b01c3d3
Merge branch 'origin/tomas/fix-optional-prefix-iter' (#1615)
Fraccaman Jun 27, 2023
489c3cc
Merge branch 'origin/tomas/fix-rollback' (#1616)
Fraccaman Jun 27, 2023
2f398b7
Improve consistentcy on pinned tx read
mariari Jun 27, 2023
e998bce
[fix]: Merge of 17.2 complete. Tests passing
batconjurer Jun 28, 2023
621b8d1
[feat]: Merge in main
batconjurer Jun 28, 2023
cd77fb1
Merge branch 'bat/feature/uint256_amount' into draft
batconjurer Jun 29, 2023
202b1fc
Merge branch 'origin/bat/feature/uint256-amount' (#1282)
batconjurer Jun 29, 2023
5ac86ea
[fix]: Fixed masp_incentives test startup
batconjurer Jun 29, 2023
55aa4c0
[fix]: Fixed masp_incentives test startup
batconjurer Jun 29, 2023
16b336f
Merged in draft.
murisi Jun 30, 2023
b588d89
Removed the mode flag from the generator script. Corrected the force-…
murisi Jun 30, 2023
f32846c
[fix]: Fixed masp txs and queries e2e test
batconjurer Jun 30, 2023
59a900d
Merged in draft.
murisi Jun 30, 2023
bfd9d41
Merge branch 'draft' into murisi/move-init-proposal-content-draft
murisi Jun 30, 2023
6ab237a
Merge branch 'murisi/move-init-proposal-content-draft' into draft
murisi Jun 30, 2023
d232ada
[fix]: Fixed processing of code inside init-proposal transactions.
murisi Jun 30, 2023
340ef76
[fix]: Formatting
batconjurer Jul 2, 2023
d2b298e
Merge branch 'draft' of github.com:anoma/namada into draft
batconjurer Jul 2, 2023
3d713fb
[fix]: Formatting
batconjurer Jul 2, 2023
63c6ea6
evil: fix `test_become_validator` (not in any branch)
brentstone Jul 2, 2023
d52a137
[fix]: Fix failing test-wasm by adding code section and also signing …
murisi Jul 2, 2023
a3ab7f1
Merge branch 'murisi/fix-tx-malleability' into murisi/fix-tx-malleabi…
murisi Jul 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: Ensure that when a validator is slashed, it gets removed from
validator set in the same epoch in Namada state as in CometBFT's state.
([\#1582](https://github.com/anoma/namada/pull/1582))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/1599-wasm-secp256k1-sig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix signature verification with secp256k1 in WASM VPs.
([\#1599](https://github.com/anoma/namada/pull/1599))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Storage: Fix iterator without a prefix.
([\#1615](https://github.com/anoma/namada/pull/1615))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Adds a third validator set, the below threshold set, which contains
all validators whose stake is below some parameterizable threshold.
([#1576](https://github.com/anoma/namada/pull/1576))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Added `NAMADA_LOG_DIR` env var for logging to file(s) and `NAMADA_LOG_ROLLING`
for setting rolling logs frequency. The rolling frequency can be set to
never, minutely, hourly or daily. If not set, the default is never.
([\#1578](https://github.com/anoma/namada/pull/1578))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated wasmer to v2.3.0 and switched from pwasm-utils to wasm-instrument.
([\#1604](https://github.com/anoma/namada/pull/1604))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/64-clap-up-v4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update clap to the latest version.
([\#64](https://github.com/anoma/namada/issues/64))
Loading