Skip to content

Commit 9d1b006

Browse files
authored
Merge pull request #382 from valory-xyz/feat/polygon
Feat/polygon
2 parents 7f38f9b + 71a6fcd commit 9d1b006

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

packages/packages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"skill/valory/task_execution/0.1.0": "bafybeiaposc5i5zt5okalgw2rqn6ztwsb7twgktvxff3oh5u4odqeipgzu",
1616
"skill/valory/websocket_client/0.1.0": "bafybeidbcdcvyy2svob6p52akdx4ezsqpxdh4kphhqgf6hbageneu7unwi",
1717
"skill/valory/delivery_rate_abci/0.1.0": "bafybeib3y46tseqlty5ux3bmweoajmcl4eeyiwnofiidushnmqms7fjsl4",
18-
"agent/valory/mech/0.1.0": "bafybeicfqd6xfc36rmskh6edl445lyxucwrhpt5fnk5digtypcjxkyjl34",
19-
"service/valory/mech/0.1.0": "bafybeiafuy2ui3bvaurv6jspkgswz54i3ejagjfi26fi2o6dnpte7idq7a"
18+
"agent/valory/mech/0.1.0": "bafybeidxlgugzsyu6jhfhe7ub4m5xlpt6ec5hxqd2bkoopni54qn3hwpce",
19+
"service/valory/mech/0.1.0": "bafybeic5hzltsobtld44uut5ximh4iamx6ntj6yzch3rhdsgval2vh3ryq"
2020
},
2121
"third_party": {
2222
"protocol/open_aea/signing/1.0.0": "bafybeib7p5as3obcdzseiwg5umj2piiqaodkxkto7qh7b552l5emwsmdzm",

packages/valory/agents/mech/aea-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ config:
218218
chain_id: ${int:100}
219219
poa_chain: ${bool:false}
220220
default_gas_price_strategy: ${str:eip1559}
221+
polygon:
222+
address: ${str:http://localhost:8545}
223+
chain_id: ${int:137}
224+
poa_chain: ${bool:true}
225+
default_gas_price_strategy: ${str:eip1559_polygon}
221226
---
222227
public_id: valory/http_server:0.22.0:bafybeicblltx7ha3ulthg7bzfccuqqyjmihhrvfeztlgrlcoxhr7kf6nbq
223228
type: connection

packages/valory/services/mech/service.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license: Apache-2.0
77
fingerprint:
88
README.md: bafybeihppqns2lwn5vehtqh2wu4tjyf76dbzxc26nlfws4sc5hcbjbalma
99
fingerprint_ignore_patterns: []
10-
agent: valory/mech:0.1.0:bafybeicfqd6xfc36rmskh6edl445lyxucwrhpt5fnk5digtypcjxkyjl34
10+
agent: valory/mech:0.1.0:bafybeidxlgugzsyu6jhfhe7ub4m5xlpt6ec5hxqd2bkoopni54qn3hwpce
1111
number_of_agents: 4
1212
deployment:
1313
agent:
@@ -281,6 +281,11 @@ type: connection
281281
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
282282
poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false}
283283
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
284+
polygon:
285+
address: ${POLYGON_LEDGER_RPC_0:str:http://host.docker.internal:8545}
286+
chain_id: ${POLYGON_LEDGER_CHAIN_ID:int:137}
287+
poa_chain: ${POLYGON_LEDGER_IS_POA_CHAIN:bool:true}
288+
default_gas_price_strategy: ${POLYGON_LEDGER_PRICING:str:eip1559_polygon}
284289
1:
285290
config:
286291
ledger_apis:
@@ -294,6 +299,11 @@ type: connection
294299
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
295300
poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false}
296301
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
302+
polygon:
303+
address: ${POLYGON_LEDGER_RPC_1:str:http://host.docker.internal:8545}
304+
chain_id: ${POLYGON_LEDGER_CHAIN_ID:int:137}
305+
poa_chain: ${POLYGON_LEDGER_IS_POA_CHAIN:bool:true}
306+
default_gas_price_strategy: ${POLYGON_LEDGER_PRICING:str:eip1559_polygon}
297307
2:
298308
config:
299309
ledger_apis:
@@ -307,6 +317,11 @@ type: connection
307317
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
308318
poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false}
309319
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
320+
polygon:
321+
address: ${POLYGON_LEDGER_RPC_2:str:http://host.docker.internal:8545}
322+
chain_id: ${POLYGON_LEDGER_CHAIN_ID:int:137}
323+
poa_chain: ${POLYGON_LEDGER_IS_POA_CHAIN:bool:true}
324+
default_gas_price_strategy: ${POLYGON_LEDGER_PRICING:str:eip1559_polygon}
310325
3:
311326
config:
312327
ledger_apis:
@@ -320,6 +335,11 @@ type: connection
320335
chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100}
321336
poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false}
322337
default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559}
338+
polygon:
339+
address: ${POLYGON_LEDGER_RPC_3:str:http://host.docker.internal:8545}
340+
chain_id: ${POLYGON_LEDGER_CHAIN_ID:int:137}
341+
poa_chain: ${POLYGON_LEDGER_IS_POA_CHAIN:bool:true}
342+
default_gas_price_strategy: ${POLYGON_LEDGER_PRICING:str:eip1559_polygon}
323343
---
324344
public_id: valory/p2p_libp2p_client:0.1.0
325345
type: connection

0 commit comments

Comments
 (0)