Skip to content

Commit

Permalink
Merge pull request #1 from penumbra-zone/penumbra-support
Browse files Browse the repository at this point in the history
initial support for Penumbra chains in Hermes
  • Loading branch information
avahowell authored Sep 20, 2023
2 parents 6113050 + ca8ec42 commit d565073
Show file tree
Hide file tree
Showing 21 changed files with 3,694 additions and 765 deletions.
1,861 changes: 1,458 additions & 403 deletions Cargo.lock

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions config-devnet-osmosis.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[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 = true
host = '127.0.0.1'
port = 3001

[[chains]]
id = 'penumbra-testnet-tethys-8777cb20'
type = 'penumbra'
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 = 'penumbra-wallet'
store_prefix = '' # not used, the commitment prefix for penumbra IBC is PenumbraAppHash
gas_price = { price = 1, denom = 'upenumbra' } # 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 = 'osmo-test-5'
type = 'cosmos-sdk'
rpc_addr = 'https://rpc.testnet.osmosis.zone'
grpc_addr = 'https://grpc.testnet.osmosis.zone'
event_source = { mode = 'pull', interval = '1s' }
rpc_timeout = '15s'
account_prefix = 'osmo' # not used
key_name = 'osmosis'
store_prefix = 'ibc' # not used, the commitment prefix for penumbra IBC is PenumbraAppHash
gas_price = { price = 0.0026, denom = 'uosmo' }
gas_multiplier = 1.1
clock_drift = '20s'
max_block_time = '10s'
trusting_period = '1days'
memo_prefix = 'Hello from Penumbra 😎🌘'
trust_threshold = { numerator = '1', denominator = '3' }
61 changes: 61 additions & 0 deletions config-osmosistestnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[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 = true
host = '127.0.0.1'
port = 3001

[[chains]]
id = 'penumbra-testnet-tethys'
type = 'penumbra'
rpc_addr = 'https://rpc.testnet.penumbra.zone'
grpc_addr = 'https://grpc.testnet.penumbra.zone'
event_source = { mode = 'pull', interval = '1s' }
rpc_timeout = '15s'
account_prefix = 'fake' # not used
key_name = 'penumbra-wallet'
store_prefix = '' # not used, the commitment prefix for penumbra IBC is PenumbraAppHash
gas_price = { price = 1, denom = 'upenumbra' } # 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 = 'osmo-test-5'
type = 'cosmos-sdk'
rpc_addr = 'https://rpc.testnet.osmosis.zone'
grpc_addr = 'https://grpc.testnet.osmosis.zone'
event_source = { mode = 'pull', interval = '1s' }
rpc_timeout = '15s'
account_prefix = 'osmo' # not used
key_name = 'osmosis'
store_prefix = 'ibc' # not used, the commitment prefix for penumbra IBC is PenumbraAppHash
gas_price = { price = 0.0026, denom = 'uosmo' }
gas_multiplier = 1.1
clock_drift = '20s'
max_block_time = '10s'
trusting_period = '1days'
memo_prefix = 'Osmosis Docs Rocks'
trust_threshold = { numerator = '1', denominator = '3' }
Loading

0 comments on commit d565073

Please sign in to comment.