diff --git a/docs/index.md b/docs/index.md index a135c3ec..65f07f20 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ In order to run a local demo service based on the IEKit: 2. Fetch the IEKit. ```bash - autonomy fetch valory/impact_evaluator:0.1.0:bafybeidbt6znzxtiwybc3u6354wnlyt6hdah5pmki4ttmcrl6uakntvaey --service + autonomy fetch valory/impact_evaluator:0.1.0:bafybeides3whvlg3l2pjwpmy7cuiov6xxtyazogih55kmz2rllununq4pm --service ``` 3. Build the Docker image of the service agents diff --git a/packages/packages.json b/packages/packages.json index fb84417a..54878d5c 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -28,10 +28,10 @@ "skill/valory/farcaster_write_abci/0.1.0": "bafybeigx2wyujnojer7er7g2eufm5lojon2dckotvsgwb6tn5iyiwdfgsu", "skill/valory/farcaster_test_abci/0.1.0": "bafybeihd3h37ngkxlqo6o3vuvdik54bwmbrjmqcxtgsr5is3tqgbk73yoa", "skill/valory/staking_abci/0.1.0": "bafybeidgmviq6inwwjachktoeddmyuo7iyg7yfyhvhvy3znndkvuuudllq", - "agent/valory/impact_evaluator/0.1.0": "bafybeibovzkwdrttlcpleqesolaai5ehckoznddwcolul4h3regnzbp4yq", + "agent/valory/impact_evaluator/0.1.0": "bafybeiedhv6nkxjpc72lizelxj2zgisnxtumxm5mxmurfa6bhaeiuhiaw4", "agent/valory/farcaster_test/0.1.0": "bafybeiefui6dnhhy5leqyvfrbkeleb64gap5tzctkrzzggjf4ubbxamjvy", - "service/valory/impact_evaluator/0.1.0": "bafybeidbt6znzxtiwybc3u6354wnlyt6hdah5pmki4ttmcrl6uakntvaey", - "service/valory/impact_evaluator_local/0.1.0": "bafybeic5yj3fkyggtygozpotfeqdd2i5rr55txko7g2aszkfwa56jc67v4" + "service/valory/impact_evaluator/0.1.0": "bafybeides3whvlg3l2pjwpmy7cuiov6xxtyazogih55kmz2rllununq4pm", + "service/valory/impact_evaluator_local/0.1.0": "bafybeif4dhvrxcb5bg27itxrzfogdjhocimobxxxeuqyi4yxie75k76q3m" }, "third_party": { "protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi", diff --git a/packages/valory/agents/impact_evaluator/aea-config.yaml b/packages/valory/agents/impact_evaluator/aea-config.yaml index c0ee12f5..8b7d85d1 100644 --- a/packages/valory/agents/impact_evaluator/aea-config.yaml +++ b/packages/valory/agents/impact_evaluator/aea-config.yaml @@ -133,7 +133,7 @@ config: chain_id: ${int:31337} poa_chain: ${bool:false} default_gas_price_strategy: ${str:eip1559} - gas_price_strategies: &id001 + gas_price_strategies: gas_station: gas_price_api_key: null gas_price_strategy: fast @@ -152,13 +152,39 @@ config: chain_id: ${int:100} poa_chain: ${bool:false} default_gas_price_strategy: ${str:eip1559} - gas_price_strategies: *id001 + gas_price_strategies: + gas_station: + gas_price_api_key: null + gas_price_strategy: fast + eip1559: + max_gas_fast: 1500 + fee_history_blocks: 10 + fee_history_percentile: 5 + default_priority_fee: ${int:30000000} + fallback_estimate: + maxFeePerGas: 20000000000 + maxPriorityFeePerGas: 3000000000 + baseFee: null + priority_fee_increase_boundary: 200 base: address: ${str:http://localhost:8545} chain_id: ${int:8453} poa_chain: ${bool:false} default_gas_price_strategy: ${str:eip1559} - gas_price_strategies: *id001 + gas_price_strategies: + gas_station: + gas_price_api_key: null + gas_price_strategy: fast + eip1559: + max_gas_fast: 1500 + fee_history_blocks: 10 + fee_history_percentile: 5 + default_priority_fee: ${int:30000000} + fallback_estimate: + maxFeePerGas: 20000000000 + maxPriorityFeePerGas: 3000000000 + baseFee: null + priority_fee_increase_boundary: 200 --- public_id: valory/p2p_libp2p_client:0.1.0 type: connection diff --git a/packages/valory/services/impact_evaluator/service.yaml b/packages/valory/services/impact_evaluator/service.yaml index 422cf427..04332bbc 100644 --- a/packages/valory/services/impact_evaluator/service.yaml +++ b/packages/valory/services/impact_evaluator/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe fingerprint_ignore_patterns: [] -agent: valory/impact_evaluator:0.1.0:bafybeibovzkwdrttlcpleqesolaai5ehckoznddwcolul4h3regnzbp4yq +agent: valory/impact_evaluator:0.1.0:bafybeiedhv6nkxjpc72lizelxj2zgisnxtumxm5mxmurfa6bhaeiuhiaw4 number_of_agents: 4 deployment: agent: @@ -475,10 +475,10 @@ config: fee_history_percentile: 5 default_priority_fee: ${DEFAULT_PRIORITY_FEE_GNOSIS:int:1000000000} fallback_estimate: - maxFeePerGas: 20000000000 - maxPriorityFeePerGas: 3000000000 + maxFeePerGas: ${MAX_FEE_PER_GAS_GNOSIS:int:20000000000} + maxPriorityFeePerGas: ${MAX_PRIORITY_FEE_PER_GAS_GNOSIS:int:3000000000} baseFee: null - priority_fee_increase_boundary: 200 + priority_fee_increase_boundary: ${PRIORITY_FEE_INCREASE_BOUNDARY_GNOSIS:int:200} base: address: ${BASE_LEDGER_RPC:str:http://host.docker.internal:8545} chain_id: ${BASE_LEDGER_CHAIN_ID:int:8453} diff --git a/packages/valory/services/impact_evaluator_local/service.yaml b/packages/valory/services/impact_evaluator_local/service.yaml index d2eb8692..f2ea2d57 100644 --- a/packages/valory/services/impact_evaluator_local/service.yaml +++ b/packages/valory/services/impact_evaluator_local/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe fingerprint_ignore_patterns: [] -agent: valory/impact_evaluator:0.1.0:bafybeibovzkwdrttlcpleqesolaai5ehckoznddwcolul4h3regnzbp4yq +agent: valory/impact_evaluator:0.1.0:bafybeiedhv6nkxjpc72lizelxj2zgisnxtumxm5mxmurfa6bhaeiuhiaw4 number_of_agents: 1 deployment: agent: