Skip to content

Commit

Permalink
chore(sentinel): retry mechanism & locking eth accounts
Browse files Browse the repository at this point in the history
Signed-off-by: kaancaglan <[email protected]>
  • Loading branch information
Caglankaan committed Jun 25, 2024
1 parent a61ec99 commit d3e10e4
Show file tree
Hide file tree
Showing 4 changed files with 443 additions and 382 deletions.
71 changes: 20 additions & 51 deletions sentinel-config-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
"chain_configs": {
"ethereum": {
"ethereum": {
"enabled": false,
"enabled": true,
"ibc_handler_address": "0xa390514f803a3b318b93bf6cd4beeb9f8299a0eb",
"signers": [
{
"raw": "0xf2e42670eb5083a1def99dcf2fbc685d8fd6e5bb9c94a8885e031c3e6a1e4529"
}
{ "raw": "0xc7a7febac36c64d3cd757747494e4de734af5f05339a2fc818f589709e738fff" }
],
"eth_rpc_api": "wss://eth-sepolia.g.alchemy.com/v2/Xn_VBUDyUtXUYb9O6b5ZmuBNDaSlH-BB",
"transfer_module": {
Expand Down Expand Up @@ -75,6 +73,7 @@
}
]
},

"gas_config": {
"gas_price": "1.0",
"gas_denom": "muno",
Expand All @@ -94,74 +93,43 @@
}
},
"interactions": [

{
"source": {
"chain": "ethereum",
"channel": "channel-81"
},
"destination": {
"chain": "union",
"channel": "channel-89"
},
"protocol": {
"Ucs01": {
"receivers": ["union1qgvmcfkpd66wat6shhfas0z8z9dzp683mcj9tq"],
"contract": "union1m87a5scxnnk83wfwapxlufzm58qe2v65985exff70z95a2yr86yq7hl08h"
}
},
"memo": "{\"forward\":{\"receiver\":\"84cB5E16918547aD6181fe6513861a7eA476f2EC\",\"port\":\"wasm.union1m87a5scxnnk83wfwapxlufzm58qe2v65985exff70z95a2yr86yq7hl08h\",\"channel\":\"channel-70\"}}",
"sending_memo_probability": 1,
"denoms": [
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
"muno",
"0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4"
],
"send_packet_interval": 50,
"expect_full_cycle": 900,
"amount_min": 1,
"amount_max": 3
},
{
"source": {
"chain": "union",
"channel": "channel-89"
"channel": "channel-6"
},
"destination": {
"chain": "ethereum",
"channel": "channel-81"
"chain": "bera",
"channel": "channel-80"
},
"protocol": {
"Ucs01": {
"receivers": ["0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"],
"receivers": ["0x614E946f6D769Ad2983E4d4B81DDeBBFA51B09b5"],
"contract": "union1m87a5scxnnk83wfwapxlufzm58qe2v65985exff70z95a2yr86yq7hl08h"
}
},
"memo": "{\"forward\":{\"receiver\":\"84cB5E16918547aD6181fe6513861a7eA476f2EC\",\"port\":\"wasm.union1m37cxl0ld4uaw3r4lv9nt2uw69xxf8xfjrf7a4w9hamv6xvp6ddqqfaaaa\",\"channel\":\"channel-6\"}}",
"sending_memo_probability": 0.0,
"denoms": [
"factory/union1m37cxl0ld4uaw3r4lv9nt2uw69xxf8xfjrf7a4w9hamv6xvp6ddqqfaaaa/0xe619529b4396a62ab6d88ff2bb195e83c11e909ad9",
"factory/union1m37cxl0ld4uaw3r4lv9nt2uw69xxf8xfjrf7a4w9hamv6xvp6ddqqfaaaa/0x742f7232c73bea91be2828fa14129f68015c3f895b",
"muno"
],
"send_packet_interval": 50,
"memo": "{\"forward\":{\"receiver\":\"614E946f6D769Ad2983E4d4B81DDeBBFA51B09b5\",\"port\":\"wasm.union1m87a5scxnnk83wfwapxlufzm58qe2v65985exff70z95a2yr86yq7hl08h\",\"channel\":\"channel-80\"}}",
"sending_memo_probability": 0,
"denoms": ["muno"],
"send_packet_interval": 1,
"expect_full_cycle": 900,
"amount_min": 1,
"amount_max": 3
"amount_max": 1,
"max_retry": 3
}
],
"single_interaction": {
"source": {
"chain": "bera",
"channel": "channel-80"
},
"destination": {
"chain": "union",
"channel": "channel-6"
},
"destination": {
"chain": "bera",
"channel": "channel-80"
},
"protocol": {
"Ucs01": {
"receivers": ["union1qgvmcfkpd66wat6shhfas0z8z9dzp683mcj9tq"],
"receivers": ["0x614E946f6D769Ad2983E4d4B81DDeBBFA51B09b5"],
"contract": "union1m87a5scxnnk83wfwapxlufzm58qe2v65985exff70z95a2yr86yq7hl08h"
}
},
Expand All @@ -171,6 +139,7 @@
"send_packet_interval": 1,
"expect_full_cycle": 900,
"amount_min": 1,
"amount_max": 1
"amount_max": 1,
"max_retry": 3
}
}
Loading

0 comments on commit d3e10e4

Please sign in to comment.