Commit Graph

1460 Commits

Author SHA1 Message Date
Adam Robert Turman
d6b3e8fc8b
add incentives for axlUSDC for lend supply (#1495) 2023-03-13 13:41:22 -05:00
Adam Robert Turman
59602203e0
add axelar/usdc money market (#1494) 2023-03-10 14:38:50 -06:00
Paul Downing
f5ef155098
hard withdraw eip712 type should be Coin[], not Coin (#1493) 2023-03-09 17:42:57 -06:00
Paul Downing
3b28707146
use correct erc20 contract addresses for internal testnet (#1492) 2023-03-09 13:48:55 -06:00
Paul Downing
42f30080a6
fix typo in weth contract seed for internal testnet (#1491)
* fix typo in weth contract seed for internal testnet

* move wallet variable up for organizational purposes
2023-03-09 12:31:13 -06:00
Paul Downing
27d2502419
add wBTC to internal testnet evm setup (#1490)
* add wBTC to internal testnet evm setup

* Update seed-internal-testnet.sh

* Update seed-internal-testnet.sh

* Update seed-internal-testnet.sh

* Update seed-internal-testnet.sh

* Update seed-internal-testnet.sh
2023-03-08 16:49:22 -06:00
Nick DeLuca
ba73f69688
Fix CDP keeper liquidation collateral ratio check (#1488)
* add test for exact collateral ratio; fix bug that allows cdps created at
the limit to be liquidated by a keeper; update spec

* touch up spec to be more clear

* adjust test name to better reflect what we are testing
2023-03-07 20:19:29 -07:00
Robert Pirtle
37b1b5fa5e
Add IBC chain to E2E test suite (#1486)
* add kvtool as a subrepo

* use kvtool instead of hardcoded configurations

* encapsulate chain port numbers

* refactor query clients

* include ibc in test suite

* track & create accounts per chain

* setup test suite env & toggle for IBC tests

* support different denoms on different chains

* add E2E_SKIP_SHUTDOWN flag

* test ibc transfer of funds!

* include submodules in necessary github checkout action

* update readme w/ details about e2e git submodules
2023-03-07 14:37:45 -08:00
Kevin Davis
9e7686673e
feat: add liquid module spec (#1484)
* feat: add liquid module spec

* add codeblock languages for syntax highlighting

---------

Co-authored-by: Robert Pirtle <astropirtle@gmail.com>
2023-03-06 17:32:52 -07:00
Paul Downing
2fe8890a63
Pd/fix weth and wbtc on internal testnet 2 (#1485)
* use axelar assets for wETH and wBTC instead of multichain

* rename denoms
2023-03-06 10:47:13 -06:00
Paul Downing
3487a96ca0
use axelar assets for wETH and wBTC instead of multichain (#1483) 2023-03-03 10:51:46 -06:00
Robert Pirtle
f051ea3a49
Add EVM signer to e2e test SigningAccounts (#1482)
* rename cosmos-sdk specific signers

* add evm_signer util

* add utilities for converting between addresses

* rename signers

* dont include e2e tests in docker image

* add evmsigner to e2e SigningAccount

* add new whale account that is an EthAccount

* use ethsecp256k1 for e2e SigningAccounts

* wait for evm tx to be committed to block

also add example evm tx tests! 🎉

* check remainined balance is expected

* check balance via evm
2023-03-01 17:05:53 -08:00
Kevin Davis
214393ccfd
Update kava version for kava-12 release 2023-02-28 12:16:26 -07:00
Levi Schoen
9505d45e4d validate testnet genesis as part of ci 2023-02-27 14:05:48 -08:00
Adam Robert Turman
6d5735befb
alphabetize coins (#1480) 2023-02-27 15:49:06 -06:00
Adam Robert Turman
94aa40e99c
Update internal testnet with wETH Lend market (#1479)
* - add weth as a money market
- add pricefeed

* correct conversion_factor
2023-02-27 14:12:05 -06:00
Kevin Davis
88069fe6e2
add wbtc to hard, evm util, dev account to internal testnet (#1478)
* add wbtc to hard, evm util, dev account

* Update ci/env/kava-internal-testnet/genesis.json

Co-authored-by: Adam Robert Turman <67024033+adamrturman@users.noreply.github.com>

---------

Co-authored-by: Adam Robert Turman <67024033+adamrturman@users.noreply.github.com>
2023-02-27 12:25:10 -07:00
Robert Pirtle
34c5d1ecd5
add e2e tests to ci pipeline (#1476)
* add e2e tests to ci pipeline

* enable DOCKER_BUILDKIT
2023-02-22 16:13:11 -08:00
Robert Pirtle
ff5b0e814e
add initial E2E testing setup (#1475)
* setup e2e test that starts kava chain

* refactor into a testify suite

* setup ethClient

* add example test checking chain id

* cleanup

* refactor & support funded accounts with txs

* ignore e2e tests in CI & consolidate makefiles

* remove circular go.mod dependency

vendors `signing` and `grpc` packages from `kava-labs/go-tools` to
refrain from a circular dep and fix pulled in dep versions

* add min fee for evm side

* prune nothing in e2e node
2023-02-22 15:40:56 -08:00
Draco
d3930fff91
tag geth to v1.10.26 (#1471) 2023-02-13 14:12:30 -05:00
Derrick Lee
7574c06087
Update internal testnet incentive param state to match mainnet (#1469) 2023-02-06 11:45:03 -08:00
Nick DeLuca
9d059f5ed9
Fix kava version build tag for detached HEAD state (#1465)
* use tag for kava version if we are in a detached HEAD state; add
print-git-info target for displaying git data

* refactor to ignore any detached head state; rely on checkout of exact
tag
2023-02-02 13:20:02 -07:00
Robert Pirtle
f9b353753c
update x/community specs for v0.21 release (#1462)
* update x/community docs for v0.21 release

* auto-approve proposal submission in seed script

* update to v2 of go linting CI job
2023-01-30 10:09:26 -08:00
Robert Pirtle
d05484cf88
update lend proposals to use community pool (#1460)
* point community pool lend proposals at fee pool

* update community pool lend proposal tests

* remove unused begin blocker

* increase test coverage

* fix x/community proposal comments
2023-01-26 15:27:41 -08:00
Robert Pirtle
b26e12a579
remove legacy-community-pool query (#1459) 2023-01-26 10:47:03 -08:00
Robert Pirtle
05a705be79
remove x/community references (#1454)
* remove new community pool from earn

* remove x/community from kavadist

* remove overridden community-pool query
2023-01-26 10:01:28 -07:00
Robert Pirtle
0d38ce77a1
replace x/kavamint with x/mint (#1452)
* replace x/kavamint with x/mint

* replace x/mint with x/kavamint in internal testnet

* delete all x/kavamint code (#1453)
2023-01-26 09:50:27 -07:00
Adam Robert Turman
179e4ed917
add text proposal to internal testnet seed script (#1451) 2023-01-23 13:56:51 -06:00
Nick DeLuca
cd2c483cdc
update twitter link in readme (#1450) 2023-01-20 07:47:24 -07:00
Nick DeLuca
4dcc075f67
upstream support for finalized query & allow evm params to be fetched (#1440)
for current and previous blocks
2023-01-03 10:46:06 -08:00
Robert Pirtle
0c7a3d52d7
match mainnet claim multipliers on internal testnet (#1446) 2023-01-03 10:28:49 -08:00
Ruaridh
4b8e224f6a
Revert incentive refactor commits (#1433)
* Revert "Add incentive migrations for earn rewards (#1406)"

This reverts commit 937e5f339f.

* Revert "Use different accumulator for earn (#1395)"

This reverts commit cf009647e6.

* Revert "Add base earn incentive accumulator (#1393)"

This reverts commit 44a90a8ef9.

* Revert "Add generic incentive `AccumulateRewards` method (#1392)"

This reverts commit dce631d3de.

* Revert "Add GetSynchronizedClaim and swap adapter (#1386)"

This reverts commit f52a581ea9.

* Revert "Add Initialize/Synchronize Claim methods (#1383)"

This reverts commit c2061f626e.

* Revert "Add source adapter interface definition (#1377)"

This reverts commit 2abb2ce606.

* Revert "Add incentive RewardIndexes types and state methods (#1381)"

This reverts commit 4a3002b09c.

* Revert "Add AccrualTime type and state methods (#1379)"

This reverts commit df1c2ffc34.

* Revert "Add incentive claim state methods (#1375)"

This reverts commit 90735e29ed.

* Revert "Add generic Claim type (#1371)"

This reverts commit 45fc1a7643.

* Regerate protos and minor revert fixes
2022-12-22 01:08:16 +00:00
Robert Pirtle
e4b4a7c62e
explicitly enumerate internal testnet validators (#1443) 2022-12-21 13:06:02 -08:00
Robert Pirtle
66a60fa6d8
seed dev-wallet power on internal testnet (#1442)
the seed script will issue & delegate enough KAVA to the genesis
validators to have enough power to pass gov proposals by itself.
2022-12-21 11:51:14 -08:00
Levi Schoen
67e1938190 metric workflow status based on overall result 2022-12-20 13:06:05 -08:00
Ruaridh
d0f83dc529
Add hard params to internal testnet (#1437)
* add hard params

* add unexpired prices

* remove old liquid module params
2022-12-20 18:38:55 +00:00
Ruaridh
b8d3c19e0f
Use default account type for genesis cmd (#1438) 2022-12-20 18:38:22 +00:00
Robert Pirtle
1f6a7d7ae1
update docker hub username in ci (#1439) 2022-12-20 09:28:08 -08:00
Robert Pirtle
8eb9e1d4a1
Add LegacyCommunityPool query to x/community (#1432)
* add proto for LegacyCommunityPool query

* add distribution keeper to community keeper

* implement LegacyCommunityPool query

* add cli cmd for legacy-community-pool
2022-12-19 13:56:46 -08:00
Robert Pirtle
ad0d1f80c8
Override original community-pool query service (#1430)
* initial version

* override x/distribution community-pool query

* test subset of original x/distribution queries

Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
2022-12-19 13:50:43 -08:00
Robert Pirtle
4c1524d7bc
Refactor community & inflation enhancements (#1428)
* refactor begin blocker to single func

* remove unused inflation keeper methods

* refactor to private keeper methods

* add testcase for failed mint due to invalid param

* add testcase for GetStakingApy()

* check for zero instead of empty

* actually test super long block time

* skip fund account for earn community proposals

* test x/community keeper GetModuleAccountBalance

* update x/kavamint begin block spec
2022-12-19 13:50:11 -08:00
Robert Pirtle
dd856bb288
inherit secrets for ci-docker workflow (#1436) 2022-12-16 12:14:04 -08:00
Robert Pirtle
01f507fc1e
add ci action for build & publish to docker hub (#1435) 2022-12-16 12:07:43 -08:00
Levi Schoen
c46d70de46 post metrics for cd run 2022-12-15 14:52:18 -08:00
Levi Schoen
51cdc91782 post metrics for ci runs 2022-12-15 14:52:18 -08:00
Levi Schoen
ebd4571ac8 switch cd pipelines to operate on internal testnet 2022-12-14 13:26:33 -08:00
Levi Schoen
7fb8e3005d
run CD on any push to the development branch 2022-12-14 15:43:04 -05:00
Robert Pirtle
f0731ceb0e
Setup CLI for x/community lend proposals (#1427)
* add tx for CommunityPoolLendDepositProposal

* add cli cmd for CommunityPoolWithdrawProposal
2022-12-12 17:10:36 -08:00
Robert Pirtle
7c58fb5303
Add x/community Lend proposals (#1425)
* implement & register x/community lend proposals

* register proposals in x/community codec

* allow x/community macc to receive funds

* init lend from genesis in proposal tests

* test CommunityLendWithdrawProposal

* helpful comment on x/community keeper deps

* use RouteKey in module.go
2022-12-12 16:38:27 -08:00
Levi Schoen
a7f3b7732b
use primary branch ref for kava-bridge cd workflow 2022-12-12 19:14:48 -05:00