Skip to content
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

feat: add thorchain support #1219

Merged
merged 40 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ffe6544
initial thorchain addition, configs setup, still need genesis update
misko9 Jul 19, 2024
9116cec
wip: thorchain genesis
misko9 Jul 23, 2024
ceba377
thorchain running
misko9 Jul 23, 2024
277335b
thorchain and bifrost working together
misko9 Jul 25, 2024
3e6981b
add savers, swaps, and saver eject example case for gaia
misko9 Jul 26, 2024
49eafc3
arb wip, all other sim tests passing
misko9 Jul 31, 2024
c0febe8
arb code in, needs testing with >1 pool
misko9 Jul 31, 2024
cbc6d2d
add ethereum to thorchain test and start cleaning up
misko9 Aug 2, 2024
50a6017
clean up savers/arb features
misko9 Aug 2, 2024
699ebf5
clean up swap feature
misko9 Aug 2, 2024
de5eb93
cleanup of saver eject and ragnarok features
misko9 Aug 2, 2024
2fcd796
fix: second+ saver eject now works
misko9 Aug 5, 2024
ac8aac9
Add back arbing and eth->gaia swap
misko9 Aug 5, 2024
cfc4091
wip, add utxo support, SendFundsWithNote() still needed
misko9 Aug 7, 2024
e1c5671
hardfork wip
agouin Aug 8, 2024
de8797a
start with genesis contents
agouin Aug 8, 2024
a166e88
progress further
agouin Aug 8, 2024
95520c5
wip: removed non-BTC chains temporarily, BTC's SendFundsWithNote succ…
misko9 Aug 8, 2024
69977a6
thorchain<->btc dual lp working
misko9 Aug 8, 2024
3fa9983
btc and bch looking good
misko9 Aug 9, 2024
ea0a2a0
ltc working, clean up logging, fix coins funded on each chain, and fi…
misko9 Aug 9, 2024
34f5287
utxo chains fully operational
misko9 Aug 10, 2024
4346aae
fix ether type
misko9 Aug 11, 2024
e39bd9a
add some protections around utxo node wallet usage
misko9 Aug 12, 2024
ad4a0a7
send utxo change back to sender instead of a change address
misko9 Aug 12, 2024
5daf638
Run tests in parallel
misko9 Aug 13, 2024
2dbbf78
clean up utxo test
misko9 Aug 13, 2024
f08f494
fmt/lint
misko9 Aug 13, 2024
7508c67
More cleanup
misko9 Aug 14, 2024
d1641df
increase time for bifrost to initialize
misko9 Aug 14, 2024
bcab349
Merge branch 'andrew/thorchain_hardfork' into steve/thorchain
misko9 Aug 14, 2024
a8b23da
Set bifrost envs at runtime
misko9 Aug 14, 2024
e8ae3a0
change wg to eg
misko9 Aug 15, 2024
7d72058
minor fmt
misko9 Aug 15, 2024
0545c5f
Merge branch 'main' into steve/thorchain
misko9 Aug 15, 2024
2a52c9c
add back mainnet-genesis.json
misko9 Aug 15, 2024
7e3f0d0
remove mainnet-genesis.json
misko9 Aug 21, 2024
70ae530
Merge branch 'main' into steve/thorchain
misko9 Aug 21, 2024
9ec32dd
lint
Reecepbcups Aug 21, 2024
ea0b733
fix: nil gRPC queries
Reecepbcups Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change wg to eg
  • Loading branch information
misko9 committed Aug 15, 2024
commit e8ae3a0bf8135ac2082031b5a4830100d2246f4c
1 change: 1 addition & 0 deletions examples/thorchain/thorchain_hardfork_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestThorchainHardFork(t *testing.T) {
// ----------------------------
thorchainChainSpec := ThorchainDefaultChainSpec(t.Name(), numThorchainValidators, numThorchainFullNodes, "", nil, nil)
thorchainChainSpec.Bech32Prefix = "thor"
thorchainChainSpec.Images[0].Version = "local-mainnet"

// Start from mainnet state
thorchainChainSpec.Genesis = &ibc.GenesisConfig{
Expand Down
4 changes: 2 additions & 2 deletions examples/thorchain/thorchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ func TestThorchainSim(t *testing.T) {

// Start non-thorchain chains
exoChains := StartExoChains(t, ctx, client, network)
gaiaWg := SetupGaia(t, ctx, exoChains["GAIA"])
gaiaEg := SetupGaia(t, ctx, exoChains["GAIA"])
ethRouterContractAddress := SetupEthContracts(t, ctx, exoChains["ETH"])

// Start thorchain
thorchain := StartThorchain(t, ctx, client, network, exoChains, ethRouterContractAddress)
require.NoError(t, gaiaWg.Wait()) // Wait for 100 transactions before starting tests
require.NoError(t, gaiaEg.Wait()) // Wait for 100 transactions before starting tests

// --------------------------------------------------------
// Bootstrap pool
Expand Down
Loading