-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: multichain-testing with
go-relayer
(#10182)
closes: #10179 ## Description Ensures compatibility with [go-relayer](https://github.com/cosmos/relayer) by adding workflow dispatch jobs to `multichain-e2e` for Orchestration API (`config.go-relayer.yaml`) and FastUSDC (`config.fusdc.go-relayer.yaml`). Our existing tests using [hermes](https://github.com/informalsystems/hermes). Scope is mainly for the Orchestration API, but `x/vibc` is also covered to an extent. Towards this goal: - enable starship faucet for agoric in all configs (required for `go-relayer`) - update channel-close tests to use `go-relayer` when `RELAYER_TYPE` env var is present ### Security Considerations n/a, test code ### Scaling Considerations Not currently part of integration tests that run on merges to master. ### Documentation Considerations Added a section in the `README.md` with instructions for running the tests with `go-relayer`. ### Testing Considerations Runs existing test suite against `go-relayer`, extending our test coverage across to the two main `cosmos-sdk` relayer clients. This should help identify any relayer-specific issues or discrepancies. Please note: these tests will not run on every PR and must be dispatched manually. ### Upgrade Considerations n/a
- Loading branch information
Showing
16 changed files
with
506 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
name: agoric-multichain-testing-fusdc-go-relayer | ||
version: 0.2.20 | ||
|
||
chains: | ||
- id: agoriclocal | ||
name: agoric | ||
image: ghcr.io/agoric/agoric-sdk:dev | ||
numValidators: 1 | ||
env: | ||
- name: DEBUG | ||
value: SwingSet:vat,SwingSet:ls | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
swingset: | ||
params: | ||
bootstrap_vat_config: '@agoric/vm-config/decentral-itest-orchestration-config.json' | ||
scripts: | ||
updateConfig: | ||
file: scripts/update-config.sh | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1317 | ||
rpc: 26657 | ||
exposer: 38087 | ||
grpc: 9090 | ||
faucet: 8082 | ||
resources: | ||
cpu: 1 | ||
memory: 4Gi | ||
- id: osmosislocal | ||
name: osmosis | ||
numValidators: 1 | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
interchain_accounts: | ||
host_genesis_state: | ||
params: | ||
host_enabled: true | ||
allow_messages: ['*'] | ||
interchainquery: | ||
host_port: 'icqhost' | ||
params: | ||
host_enabled: true | ||
allow_queries: | ||
- /cosmos.bank.v1beta1.Query/Balance | ||
- /cosmos.bank.v1beta1.Query/AllBalances | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1315 | ||
rpc: 26655 | ||
grpc: 9093 | ||
faucet: 8084 | ||
resources: | ||
cpu: 1 | ||
memory: 1Gi | ||
- id: noblelocal | ||
name: noble | ||
numValidators: 1 | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1314 | ||
rpc: 26654 | ||
grpc: 9092 | ||
faucet: 8083 | ||
resources: | ||
cpu: 1 | ||
memory: 1Gi | ||
|
||
relayers: | ||
- name: osmosis-noble | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- osmosislocal | ||
- noblelocal | ||
- name: agoric-osmosis | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- agoriclocal | ||
- osmosislocal | ||
- name: agoric-noble | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- agoriclocal | ||
- noblelocal | ||
|
||
explorer: | ||
enabled: false | ||
|
||
registry: | ||
enabled: true | ||
ports: | ||
rest: 8081 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
name: agoric-multichain-testing-go-relayer | ||
version: 0.2.20 | ||
|
||
chains: | ||
- id: agoriclocal | ||
name: agoric | ||
image: ghcr.io/agoric/agoric-sdk:dev | ||
numValidators: 1 | ||
env: | ||
- name: DEBUG | ||
value: SwingSet:vat,SwingSet:ls | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
swingset: | ||
params: | ||
bootstrap_vat_config: '@agoric/vm-config/decentral-itest-orchestration-config.json' | ||
scripts: | ||
updateConfig: | ||
file: scripts/update-config.sh | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1317 | ||
rpc: 26657 | ||
exposer: 38087 | ||
grpc: 9090 | ||
faucet: 8082 | ||
resources: | ||
cpu: 1 | ||
memory: 4Gi | ||
- id: osmosislocal | ||
name: osmosis | ||
numValidators: 1 | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
interchain_accounts: | ||
host_genesis_state: | ||
params: | ||
host_enabled: true | ||
allow_messages: ['*'] | ||
interchainquery: | ||
host_port: 'icqhost' | ||
params: | ||
host_enabled: true | ||
allow_queries: | ||
- /cosmos.bank.v1beta1.Query/Balance | ||
- /cosmos.bank.v1beta1.Query/AllBalances | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1315 | ||
rpc: 26655 | ||
grpc: 9093 | ||
faucet: 8084 | ||
resources: | ||
cpu: 1 | ||
memory: 1Gi | ||
- id: cosmoshublocal | ||
name: cosmoshub | ||
numValidators: 1 | ||
genesis: | ||
app_state: | ||
staking: | ||
params: | ||
unbonding_time: '2m' | ||
interchain_accounts: | ||
host_genesis_state: | ||
params: | ||
host_enabled: true | ||
allow_messages: ['*'] | ||
faucet: | ||
enabled: true | ||
type: starship | ||
ports: | ||
rest: 1314 | ||
rpc: 26654 | ||
grpc: 9092 | ||
faucet: 8083 | ||
resources: | ||
cpu: 1 | ||
memory: 1Gi | ||
|
||
relayers: | ||
- name: osmosis-cosmoshub | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- osmosislocal | ||
- cosmoshublocal | ||
- name: agoric-osmosis | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- agoriclocal | ||
- osmosislocal | ||
- name: agoric-cosmoshub | ||
type: go-relayer | ||
replicas: 1 | ||
chains: | ||
- agoriclocal | ||
- cosmoshublocal | ||
|
||
explorer: | ||
enabled: false | ||
|
||
registry: | ||
enabled: true | ||
ports: | ||
rest: 8081 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.