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
Denali Marsh
8ef03e4181
[HOTFIX] Fix outgoing swaps in BEP3 sims ( #490 )
...
* check available asset supply on outgoing swaps
* switch maximum, current
2020-05-06 17:29:59 -07:00
Denali Marsh
7a904ddd6c
[R4R] Add outgoing swaps to bep3 sims ( #484 )
...
* incoming swaps trigger acc registration
* move supply increment after recipient acc validation
* use expected keepers pattern
* remove expected keepers from alias
* add outgoing swaps to sims
2020-05-06 12:30:27 -07:00
Denali Marsh
d56ad961c0
[R4R] Enable bep3 claim txs from new addresses ( #482 )
...
* incoming swaps trigger acc registration
* move supply increment after recipient acc validation
* use expected keepers pattern
* remove expected keepers from alias
* update comment
2020-05-06 10:56:43 -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
Federico Kunze
71d862300d
remove pointer from AtomicSwap
2020-04-06 18:45:46 -04:00
Federico Kunze
3f4aba1c7f
decoder tests
2020-04-04 19:42:35 -03:00
Federico Kunze
11ed343dea
simulation decoders for kava modules
2020-04-01 12:27:38 -03:00
Ruaridh
f3e2e7e585
add simulation stubs to make tests pass ( #408 )
2020-03-30 11:02:43 -04:00