Skip to content

Commit

Permalink
Merge pull request #354 from OjusWiZard/refactor/ledger-address
Browse files Browse the repository at this point in the history
Refactor (trader_pearl): Take ledger address from env-var
  • Loading branch information
jmoreira-valory authored Nov 18, 2024
2 parents daafa87 + a4a7927 commit 81d8df3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini",
"agent/valory/trader/0.1.0": "bafybeiehtji3tbjwckxuyjkjnjmmtk7g6m6fivohtzoc7sc4lnl775ij2e",
"service/valory/trader/0.1.0": "bafybeig5tvnwrp25566hdpbhwltp65dgp3bidqw4hfec4z4tpssahi4wiy",
"service/valory/trader_pearl/0.1.0": "bafybeidyzckqhyeqsl7pcglqaofg3anshk56ujgqlax5bwsu3zzrc3vik4"
"service/valory/trader_pearl/0.1.0": "bafybeic26ovbgnb3l7dpgc33vy55ucv2ou7i7drkgcvohen72nhcso6iny"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
8 changes: 4 additions & 4 deletions packages/valory/services/trader_pearl/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ type: connection
config:
ledger_apis:
ethereum:
address: http://host.docker.internal:8545
chain_id: 100
default_gas_price_strategy: eip1559
poa_chain: false
address: ${GNOSIS_LEDGER_RPC:str:http://host.docker.internal:8545}
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false}
---
public_id: valory/p2p_libp2p_client:0.1.0
type: connection
Expand Down

0 comments on commit 81d8df3

Please sign in to comment.