Solovyov1796
916f251143
rename go mod path
2024-05-01 11:17:24 +08:00
drklee3
3375484f79
Update deprecated Cosmos methods ( #1530 )
...
* Use cosmossdk.io/errors for deprecated error methods
* Update error registration with cosmossdk.io/errors
* Use cosmossdk.io/math for deprecated sdk.Int alias
* Fix modified proto file
* Update sdk.Int usage in swap hooks
* Update e2e test deprecated method usage
2023-04-05 16:21:59 -07:00
Jacob Gadikian
09ddb3e367
gofumpt - apply format changes for readability and consistency ( #1248 )
2022-05-09 11:37:36 -07:00
Kevin Davis
5fc85f10a6
Add rate limiting to bep3 assets ( #623 )
...
* feat: use only module account for bep3 txs
* wip: add time-based supply limits
* add tests and sims
* update genesis tests
* fix migration, committee tests
* update migrations
* fix: set previous block time in begin block
* update store decoder
* add additional bep3 params to committee
* revert incorrect rebase changes
* add migration test
* address review comments
2020-08-26 22:05:27 -04:00
Kevin Davis
790753f156
BEP3: support multiple assets ( #616 )
...
* wip: refactor to allow multiple bep3 assets
* update tests
* sims: validate asset before claiming
* move asset supply to params
* update tests
* fix sims
* fix tests
* wip: add migration from v0.9 -> v0.10 bep3
* fix build and migration tests
* nit: rename file
* move asset supply out of params
* update committee tests
* fix sims
* address review comments
* address review comments
* address review comments
2020-08-17 11:06:59 -04:00
Denali Marsh
ba3b353ee9
[R4R] add bep3 module param to committee ( #547 )
...
* update committee test
* update committee params
* update default deputy address to expected mainnet address
* spelling in comment
* fix bep3 sim values to 1
* bep3 sims:generate 32 length random number
2020-06-04 18:27:54 -07:00
Denali Marsh
09a75bd7c6
[R4R] optional bep3 config params ( #546 )
...
* add minAmount, maxAmount
* update kava-3 params for compile
* fix migration script
* update to mainnet params
* remove height span validation for incoming swaps
* update to sdk.Int, set lock to 220
* update lock range to [220, 270]
* update bep3 module docs
* update MsgClaim's ValidateBasic
* update test comments
2020-06-04 16:03:14 -07:00
Denali Marsh
dd1d248be2
[R4R] Add BnbDeputyFixedFee param to BEP3 module ( #511 )
...
* generate length 32 random bytes
* fix test
* implement BnbDeputyFixedFee param
* clean up for PR
* update deputy address
* remove impossible check
* move comment
2020-05-13 16:39:29 -07:00
Federico Kunze
12fe0c60a3
x/bep3: fix swap validation ( #507 )
2020-05-13 08:41:54 -04:00
Denali Marsh
6c68e41758
[R4R] bep3 module audit revisions ( #505 )
...
* most audit revisions
* remove expected income
* update begin block spec
* filter queryAtomicSwaps, add queryAssetSupplies
* update old address
* update test
* Remove legacy method
* remove legacy comment
* address PR comments
* IsValid for SwapDirection, SwapStatus
* fix rng logging
* query asset supplies
* return [64]byte from rng
* remove cross chain field from MsgCreateAtomicSwap
* move swap filtering to querier
* rename Limit field to SupplyLimit
2020-05-12 13:15:38 -07:00
Federico Kunze
8853e8d3d1
linters and format
2020-04-30 10:13:31 -04:00
Federico Kunze
a573625df8
[R4R] bump SDK version to v0.38.3 ( #421 )
...
* bump SDK version to v0.38.3
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
2020-04-23 12:35:58 -04:00
Kevin Davis
5ae0b76e0c
[R4R] Bep3 sim changes ( #442 )
...
* fix: choose claim amount as percentage
* fix: lower asset supply to avoid overwhelming auctions
2020-04-17 14:05:36 -04:00
Kevin Davis
004837d7fc
Remove non-determinism from bep3 sims ( #427 )
...
* feat: remove non-determism from bep3 sims
2020-04-13 13:06:59 -04:00
Denali Marsh
3da4657102
[R4R] BEP3 simulations ( #423 )
...
* implement randomized genesis, params
* implement operations: MsgCreateAtomicSwap
* implement claim, refund future ops
* remove dynamic block locks
* refactor BondedAddresses
* add consistent supported assets
2020-04-11 20:54:45 -07:00
Ruaridh
f3e2e7e585
add simulation stubs to make tests pass ( #408 )
2020-03-30 11:02:43 -04:00