Skip to content

Commit

Permalink
patch: ledger apis
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Nov 20, 2024
1 parent 05a1668 commit b65661b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"skill/valory/task_execution/0.1.0": "bafybeigmps4dtqlvmrn42bt46cmsqoyvgtd7ltojm2t3ogf5rijxftmr5q",
"skill/valory/websocket_client/0.1.0": "bafybeif7rrvsu6z4evqkhblxj3u6wwv2eqou576hgkyoehxuj7cntw7o2m",
"skill/valory/subscription_abci/0.1.0": "bafybeifilanuxfvuypcccjku7nphurgp27i2iwncdmug3in6xuzfmslgaq",
"agent/valory/mech/0.1.0": "bafybeid2y6ouk2l5dd4mthbr35u7ecicmhlc6zy6fvrd4ocxzgbfvqc6vu",
"service/valory/mech/0.1.0": "bafybeiehbyzkaswtwk6qkzzlryl6qc2rxcbrtulda26nurbejfsx7ch4fm",
"service/valory/mech_quickstart/0.1.0": "bafybeiae6wpk5vxkvgugvay237gmn6xpnk7bceahodv4xka3n2p6brqlr4"
"agent/valory/mech/0.1.0": "bafybeicg5ioivs2ryaim6uf3cws2ashc5ldxtrvxgbjbhv3y2ic63qx324",
"service/valory/mech/0.1.0": "bafybeifai4fbkcxrljyko4jqqibaetg7npc3etksntu4tnnwazifodghgu",
"service/valory/mech_quickstart/0.1.0": "bafybeig544gw6i7ahlwj6d64djlwfltjuznz3p66kmwk4m6bzqtn2bjfbq"
},
"third_party": {
"protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq",
Expand Down
5 changes: 5 additions & 0 deletions packages/valory/agents/mech/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ public_id: valory/ledger:0.19.0
type: connection
config:
ledger_apis:
ethereum:
address: ${str:https://rpc.gnosischain.com/}
chain_id: ${int:100}
poa_chain: ${bool:false}
default_gas_price_strategy: ${str:eip1559}
gnosis:
address: ${str:https://rpc.gnosischain.com/}
chain_id: ${int:100}
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/mech/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba
fingerprint_ignore_patterns: []
agent: valory/mech:0.1.0:bafybeid2y6ouk2l5dd4mthbr35u7ecicmhlc6zy6fvrd4ocxzgbfvqc6vu
agent: valory/mech:0.1.0:bafybeicg5ioivs2ryaim6uf3cws2ashc5ldxtrvxgbjbhv3y2ic63qx324
number_of_agents: 4
deployment:
agent:
Expand Down
8 changes: 4 additions & 4 deletions packages/valory/services/mech_quickstart/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeiaqaedhfzjxxdfxtygjulorvd4x2h3cbwtiw3xgbigjgsc6qfn7zy
fingerprint_ignore_patterns: []
agent: valory/mech:0.1.0:bafybeid2y6ouk2l5dd4mthbr35u7ecicmhlc6zy6fvrd4ocxzgbfvqc6vu
agent: valory/mech:0.1.0:bafybeicg5ioivs2ryaim6uf3cws2ashc5ldxtrvxgbjbhv3y2ic63qx324
number_of_agents: 1
deployment:
agent:
Expand Down Expand Up @@ -85,10 +85,10 @@ type: connection
config:
ledger_apis:
ethereum:
address: ${ETHEREUM_LEDGER_RPC_0:str:http://host.docker.internal:8545}
chain_id: ${ETHEREUM_LEDGER_CHAIN_ID:int:1}
address: ${GNOSIS_RPC_0:str:http://host.docker.internal:8545}
chain_id: ${GNOSIS_LEDGER_IS_POA_CHAIN:int:100}
poa_chain: ${ETHEREUM_LEDGER_IS_POA_CHAIN:bool:false}
default_gas_price_strategy: ${ETHEREUM_LEDGER_PRICING:str:eip1559}
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
gnosis:
address: ${GNOSIS_RPC_0:str:http://host.docker.internal:8545}
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
Expand Down

0 comments on commit b65661b

Please sign in to comment.