Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/gas #212

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
32 changes: 29 additions & 3 deletions packages/valory/agents/impact_evaluator/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/valory/services/impact_evaluator/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading