Commit Graph

1378 Commits

Author SHA1 Message Date
Levi Schoen
7bb707b174 add genesis file for internal protocol testnet 2023-04-03 10:04:12 -07:00
Robert Pirtle
735d44ba32
support initialization of evm state in e2e tests (#1524)
* check receipt status for failed txs from evm

* make EvmSigner's Auth public

* setup evm state initialization for e2e

* add a dummy Greeter contract, deployed on start
* move WaitForEvmTxReceipt to from account to util
* add tests for interacting with the contract
* add ContractAddrs map to Chain
2023-04-03 09:58:45 -07:00
Robert Pirtle
6a1438fbe9
add evm min fee e2e tests (#1521)
* parse min gas price from app.toml

* test eth_gasPrice returns min fee

* use naming best practices for custom errors

* add test that evm respects min gas price

* update kvtool

* increase ibc test wait time & update kvtool
2023-03-31 10:30:37 -07:00
Robert Pirtle
0156b0e645
support chian upgrades in e2e tests (#1513)
* update kvtool

* add env vars for e2e automated upgrades

* run kvtool with upgrade flags when enabled

* add e2e test placeholder for upgrade handler tests

* allow override of kvtool's kava.configTemplate

* use the correct image tag when running e2e tests

* update kvtool

* always docker-build when running make test-e2e

* refactor skip shutdown to always skip shutdown

* add CtxAtHeight grpc helper

* add Community & Earn queriers

* expose UpgradeHeight in suite

* document e2e chain upgrades

* add reference to example branch
2023-03-28 15:32:36 -07:00
drklee3
ecb0af6c68
fix: remove denom path parameters from hard grpc query url (#1519) 2023-03-27 16:39:56 -07:00
Adam Robert Turman
ecafc08409
Evm params to mirror mainnet (#1518)
* evm params to mirror mainnet

* copypasta

* close it out

* cleanup diff
2023-03-27 15:42:26 -05:00
Adam Robert Turman
3d456aa527
add market, incentives, and funds (#1517) 2023-03-27 13:27:09 -05:00
samcode206
03510c3ec4
add e2e whale account for erc20 funding (webapp) (#1516) 2023-03-24 12:02:51 -07:00
drklee3
df7d3b2826
docs: update swagger for x/incentive grpc querier (#1512) 2023-03-22 16:09:54 -07:00
drklee3
35c848dce6
Add incentive grpc query service (#1503)
* Add incentive grpc query service

* Register query server

* Add grpc query test

* Add grpc query test

* Fix proto lints

* Fix missing savings field, update tests

* Update proto docs

* Use consts for query reward types

* Add owner to queryRewards err

* Add empty reward type to be valid
2023-03-21 15:47:21 -07:00
Robert Pirtle
c4bec21af7
update readme & changelog (#1511)
* point changelog readers to github releases

* add note about security disclosure to readme
2023-03-21 12:01:43 -07:00
Adam Robert Turman
5d5d6a8dc4
remove wBTC and wETH (axelar) from lend money markets (#1507) 2023-03-17 13:39:58 -05:00
Robert Pirtle
dbd7d632fa
document e2e test suite (#1489)
* add ChainId & StakingDenom to Chain

* document E2E_SKIP_SHUTDOWN env variable

* add update-kvtool make command

* document e2e test suite

* misc updates for clarity
2023-03-17 11:30:23 -07:00
samcode206
400e101cba
add End To End Whale account to internal testnet (#1502) 2023-03-15 13:58:40 -07:00
Adam Robert Turman
f069566bbb
Add contract address for axlUSDC (#1501)
* add updated contract address

* add updated contract address
2023-03-15 11:29:18 -05:00
Adam Robert Turman
de865914a1
fix bug in variable name (#1499) 2023-03-14 20:45:04 -05:00
Adam Robert Turman
1bbdec80f5
remove multichain usdc and replace with axelar usdc (#1498)
* remove multichain usdc and replace with axelar usdc

* step 1 of 2 to update axelar usdc contract

* add funds
2023-03-14 18:45:19 -05:00
Paul Downing
1cd1b3b84e
update testnet seeding (#1497)
* update testnet seeding

* fix missing syntax

* remove extra commas
2023-03-14 13:38:39 -05:00
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