forked from informalsystems/hermes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* begin AstriaEndpoint impl; update rustfmt * impl send_messages and verify_header * check_misbehaviour and bootstrap * bump deps and work on query methods * implement rest of queries, lint * getting stuff running! hermes working but issue on astria * increase default rpc timeout to 60s * add proof specs for astria * handle nonce in astria endpoint * use no_prehash for proof spec for now * update localnet config for osmosis * cleanup * fix astria address creation and cleanup * implement ICS20Withdrawal on astria for transfer command
- Loading branch information
Showing
36 changed files
with
4,121 additions
and
304 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,66 @@ | ||
|
||
[global] | ||
log_level = 'debug' | ||
|
||
[mode] | ||
|
||
[mode.clients] | ||
enabled = true | ||
refresh = true | ||
misbehaviour = false | ||
|
||
[mode.connections] | ||
enabled = true | ||
|
||
[mode.channels] | ||
enabled = true | ||
|
||
[mode.packets] | ||
enabled = true | ||
clear_interval = 100 | ||
clear_on_start = true | ||
tx_confirmation = true | ||
|
||
[telemetry] | ||
enabled = false | ||
host = '127.0.0.1' | ||
port = 3001 | ||
|
||
[[chains]] | ||
id = 'astria' | ||
type = 'Astria' | ||
rpc_addr = 'http://localhost:26657' | ||
grpc_addr = 'http://localhost:8080' | ||
event_source = { mode = 'pull', interval = '1s' } | ||
rpc_timeout = '15s' | ||
account_prefix = 'fake' # not used | ||
key_name = 'astria-wallet' | ||
store_prefix = 'ibc-data' | ||
gas_price = { price = 1, denom = 'nria' } # not used | ||
max_gas = 10000000 # not used | ||
clock_drift = '5s' | ||
trusting_period = '2h' # this should be changed in the future | ||
trust_threshold = { numerator = '1', denominator = '3' } | ||
|
||
[[chains]] | ||
id = 'ibc-0' | ||
type = 'CosmosSdk' | ||
rpc_addr = 'http://localhost:27050' | ||
grpc_addr = 'http://localhost:9090' | ||
event_source = { mode = 'push', url = 'ws://localhost:27050/websocket', batch_delay = '200ms' } | ||
rpc_timeout = '15s' | ||
trusted_node = true | ||
account_prefix = 'osmo' | ||
key_name = 'wallet' | ||
store_prefix = 'ibc' | ||
gas_price = { price = 0.0026, denom = 'stake' } | ||
gas_multiplier = 1.2 | ||
default_gas = 1000000 | ||
max_gas = 10000000 | ||
max_msg_num = 30 | ||
max_tx_size = 2097152 | ||
clock_drift = '5s' | ||
max_block_time = '30s' | ||
trusting_period = '14days' | ||
trust_threshold = { numerator = '2', denominator = '3' } | ||
memo_prefix = 'astriawashere' |
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
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
pub mod send; | ||
pub mod transfer; | ||
|
||
pub const ASTRIA_WITHDRAWAL_TYPE_URL: &str = "/astria.sequencer.v1alpha1.Ics20Withdrawal"; |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pub mod astria; | ||
pub mod client; | ||
pub mod cosmos; | ||
pub mod counterparty; | ||
|
Oops, something went wrong.