-
Notifications
You must be signed in to change notification settings - Fork 948
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
Make the the backing integer type for amounts 256 bit #1282
Closed
Closed
Changes from 24 commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
932156c
Drafting
batconjurer 3aa2856
Fixed errors in core
batconjurer d2d3665
temp
batconjurer faedfed
Some more fixes for amount types in the client code
batconjurer 0082f2b
core/token: add `fn zero`
tzemanovic a468d49
core/token: add `write_denom`
tzemanovic 6bb685d
core/transaction/wrapper: add a todo for later
tzemanovic f17e75e
app/shell: use token::Amount::native_whole for min fee conversion
tzemanovic 8a64466
core/token: make conv from Amount to u128 falliable
tzemanovic de17218
WIP: shared/pos: update token to TM voting power conv
tzemanovic 819f319
Fixed most of the masp compile issues. May not be logically correct yet
batconjurer 92976fd
[feat]: First compiling refactor. Now for testing
batconjurer b651787
[feat]: Fixed unit tests
batconjurer 2356c5d
[chore]: Formatting
batconjurer b244e1b
[chore]: Added test coverage for new token types and fixed the bugs t…
batconjurer b58d49b
[fix]: Fixed some conversions to amounts in tests. Fixed PoS state ma…
batconjurer 8efcc32
[fix]: Fixed the router tests
batconjurer 70702a1
[fix]: Cleanup up the wasms
batconjurer 86698a9
[feat]: Added sub-prefixs to denom storage read/writes
batconjurer 5d10c6c
[fix]: Fixed wasm tests
batconjurer bed746d
[chore] Merging in main
batconjurer 8c977cc
[chore]: Merging in main
batconjurer a8d9b72
[feat]: Added multitoken support to MASP
batconjurer 33b2bf0
[fix]: Fixed makefile recipes for abcipp
batconjurer 9d20a96
[feat]: Replaced u128 in governance with u256
batconjurer adaf3a1
[fix]: Incorporating in review suggestions
batconjurer acc79d2
[fix]: Refactored gen_sheilded_transfer to only denominate amounts at…
batconjurer 1e3e77d
Update query_sheilded_balance to handle the multiple denominations
mariari e71cd44
Update query_sheilded_balance to handle the multiple denominations
mariari 88b6ae1
Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …
batconjurer 8de6a44
Starting replacing rust_decimal crate in PoS
batconjurer 8920d0a
WIP continue replacing rust_decimal crate in PoS
brentstone b0419f5
[fix]: Added tests for Dec, fixed division bug, cleaned up from_str m…
batconjurer bb93c85
[chore]: Added more tests and fixes
batconjurer 1968660
WIP more `Dec` integration and testing (compiling!)
brentstone 7fbd9c6
WIP fixing pos unit tests
brentstone 32b69e9
Fix pos unit tests, change `Dec` precision to 12 places
brentstone 95419c3
Merge branch 'main' into bat/feature/uint256_amount
batconjurer 62cc6ec
[fix]: Fixed proptest in PoS, removed rust_decimal from core and pos …
batconjurer c2c66cc
[chore]: Removed rust_decimal and rust_decimal_macro deps from project
batconjurer c97a9e9
Fix Key from always parsing
mariari 26413ec
Fixing Masp Amounts to convert on the edges
mariari e218999
Remove all references to Masp::Amount out of RPC
mariari f6d0f62
Gensis Parsing config issue solved
mariari 997ff52
Improve dec display method
mariari 8f7270a
Fix u64 going to Dec from overflowing
mariari 85a82b4
Temporary remove check for chain id verification
mariari bfb81af
Remove signed conversion errors
mariari 79133e4
Fix underflow issue in commisions
mariari b1f4063
Merge branch 'mariari/key-parsing-fix' into bat/feature/uint256_amount
mariari ecb135c
Add a new destination for ibc rpc endpoint
mariari c09dd7e
Removed denominated from being called from user contracts
mariari 34e5be7
WIP fix `pos_bonds`
brentstone fcaa11a
refactor `Dec` to allow negative values
brentstone 2584aa2
Merge remote-tracking branch 'origin/base' into HEAD
mariari f855fd1
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped bcfcd32
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped d9d2654
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped eb81893
fixup! Merge remote-tracking branch 'origin/base' into HEAD
juped d481cfa
compiles
juped 42de040
some test fixes
juped 5801ef5
minor stuff again
juped 48a27dc
dubious e2e fixes
juped aebb5f5
we don't take separators anymore whoops
juped f09312e
disambiguate token denom and ibc denom
juped 55591d5
force 0 ibc denoms
juped 9be7ef8
stupid test fix: add six zeroes
juped f558899
fix IBC stuff, IBC e2e test still failed
yito88 43ce2af
fix ledger e2e tests
juped ae4eb81
set NATIVE_MAX_DECIMAL_PLACES if denom isn't stored
yito88 41b6267
unsorted wips on e2e
juped 6e5782b
WIP fixing masp amounts
batconjurer 5053330
WIP fixing masp incentives
batconjurer cdde306
WIP fixed bug in collecting unspent notes
batconjurer 16b17cc
WIP
batconjurer 087341d
WIP fixing masp incentives
batconjurer ffd72ec
WIP fixed bug in collecting unspent notes
batconjurer b4f616b
WIP
batconjurer 5dba8ab
Undo aggregate_conversions and related changes
juped d2a07ed
WIP small bug fixes and a debugger can be attached
batconjurer 5d5772d
WIP fixed unspent note calcs
batconjurer 057b4d3
WIP masp incentives passes. But I did something reckless to get there.
batconjurer 1899e65
WIP fixed masp incentives
batconjurer b380c20
Masp e2e tests now passing
batconjurer 61e9bd6
[fix]: Fixed serialization bug with amounts. Fixed remaining masp e2e…
batconjurer 38e514c
[chore] Fixed clippy and formatting
batconjurer 2cf1e76
Merge remote-tracking branch 'origin/mariari/amount-WIP' into bat/fea…
mariari 1b39e98
[fix]: Merged in ibc fixes
batconjurer 51c5423
[chore]: merged in v17
batconjurer 5eea244
[fix]: Fixed unit tests other than flaky pos test
batconjurer cb5a547
[fix]: Cleanup imports
batconjurer 637e2f8
WIP merging in v0.17.2
batconjurer 85b36fd
[fix]: Removed problematic dep so that wasms load correctly
batconjurer 869798f
[fix]: Fixed test wasm code for e2e tests
batconjurer 3ec182e
[fix]: Finalize block no longer marks undecryptable txs as valid
batconjurer b1af386
fix IBC prefixed balance
yito88 5636c66
[chore]: Formatting
batconjurer 6bc3dcb
Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …
batconjurer 3d2e91c
fix `pos_state_machine_test`
brentstone 4531c26
[NOTE] Building wasm with wasm-opt ^112 fixes wasm bugs
batconjurer f4c9079
[fix]: Fixed masp tx deserialization issue
batconjurer 72d8e9d
[fix]: Fixed masp e2e test that tests transfers and queries
batconjurer 2f398b7
Improve consistentcy on pinned tx read
mariari e998bce
[fix]: Merge of 17.2 complete. Tests passing
batconjurer 621b8d1
[feat]: Merge in main
batconjurer ec845c2
[ci] wasm checksums update
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be set in your local cargo config https://doc.rust-lang.org/cargo/reference/config.html#configuration-format