From dfeaee47309952b8317f3803ac72aef272018623 Mon Sep 17 00:00:00 2001 From: Adamantios Date: Fri, 13 Sep 2024 16:44:07 +0300 Subject: [PATCH] chore: run generators --- aea/skills/scaffold/skill.yaml | 1 + docs/api/plugins/aea_ledger_ethereum/ethereum.md | 11 ++++++----- docs/package_list.md | 10 +++++----- packages/fetchai/skills/erc1155_client/skill.yaml | 2 +- packages/fetchai/skills/erc1155_deploy/skill.yaml | 2 +- packages/fetchai/skills/generic_buyer/skill.yaml | 2 +- packages/fetchai/skills/generic_seller/skill.yaml | 2 +- packages/packages.json | 10 +++++----- packages/valory/connections/ledger/connection.yaml | 2 +- tests/data/dummy_aea/aea-config.yaml | 1 + 10 files changed, 23 insertions(+), 20 deletions(-) diff --git a/aea/skills/scaffold/skill.yaml b/aea/skills/scaffold/skill.yaml index 4efa966a48..62e5a551e5 100644 --- a/aea/skills/scaffold/skill.yaml +++ b/aea/skills/scaffold/skill.yaml @@ -32,3 +32,4 @@ models: class_name: MyModel dependencies: {} is_abstract: false +customs: [] diff --git a/docs/api/plugins/aea_ledger_ethereum/ethereum.md b/docs/api/plugins/aea_ledger_ethereum/ethereum.md index ab2a481665..8fd337e974 100644 --- a/docs/api/plugins/aea_ledger_ethereum/ethereum.md +++ b/docs/api/plugins/aea_ledger_ethereum/ethereum.md @@ -47,7 +47,8 @@ Round WEI to equivalent GWEI #### get`_`base`_`fee`_`multiplier ```python -def get_base_fee_multiplier(base_fee_gwei: int) -> float +def get_base_fee_multiplier( + base_fee_gwei: Union[int, decimal.Decimal]) -> float ``` Returns multiplier value. @@ -58,9 +59,9 @@ Returns multiplier value. ```python def estimate_priority_fee( - web3_object: Web3, base_fee_gwei: int, block_number: int, - priority_fee_estimation_trigger: int, default_priority_fee: int, - fee_history_blocks: int, fee_history_percentile: int, + web3_object: Web3, block_number: int, + default_priority_fee: Optional[int], fee_history_blocks: int, + fee_history_percentile: int, priority_fee_increase_boundary: int) -> Optional[int] ``` @@ -73,7 +74,7 @@ Estimate priority fee from base fee. ```python def get_gas_price_strategy_eip1559( max_gas_fast: int, fee_history_blocks: int, fee_history_percentile: int, - priority_fee_estimation_trigger: int, default_priority_fee: int, + default_priority_fee: Optional[int], fallback_estimate: Dict[str, Optional[int]], priority_fee_increase_boundary: int ) -> Callable[[Web3, TxParams], Dict[str, Wei]] diff --git a/docs/package_list.md b/docs/package_list.md index 0a061e1b17..05aa3a757a 100644 --- a/docs/package_list.md +++ b/docs/package_list.md @@ -14,7 +14,7 @@ | contract/fetchai/erc1155/0.22.0 | `bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4` | | connection/fetchai/gym/0.19.0 | `bafybeicqqvl4tt3qbulnkoffciagmfd6p3hxxi3i2mrrqtnbycv757pn6y` | | connection/fetchai/stub/0.21.0 | `bafybeibybboiwgklfiqpkkcw6rwj65s5jalzfzf6mh6fstxdlt6habzwvy` | -| connection/valory/ledger/0.19.0 | `bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq` | +| connection/valory/ledger/0.19.0 | `bafybeihfne2s6dwtq4paoaas252enpbyvr2uk5sbqqq7mc5vhpwe2csxiu` | | connection/valory/http_server/0.22.0 | `bafybeihpgu56ovmq4npazdbh6y6ru5i7zuv6wvdglpxavsckyih56smu7m` | | connection/valory/p2p_libp2p/0.1.0 | `bafybeic2u7azbwjny2nhaltqnbohlvysx3x6ectzbege7sxwrbzcz4lcma` | | connection/valory/p2p_libp2p_client/0.1.0 | `bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e` | @@ -26,12 +26,12 @@ | skill/fetchai/error_test_skill/0.1.0 | `bafybeihsbtlpe7h6fsvoxban5rilkmwviwkokul5cqym6atoolirontiyu` | | skill/fetchai/gym/0.20.0 | `bafybeie7y2fsxfuhsqxqcaluo5exskmrm5q3a6e2hfcskcuvzvxjjhijh4` | | skill/fetchai/http_echo/0.20.0 | `bafybeicfiri2juaqh3azeit3z3rf44kgxdo6oj4lgxjgvnowq6m7j47qrm` | -| skill/fetchai/erc1155_client/0.28.0 | `bafybeihwk56assrj5xpu5dvyyajw7dgnk65eq2n3idd5pinxp5vortd6wi` | -| skill/fetchai/erc1155_deploy/0.30.0 | `bafybeiewhczeyrrml6shrd5dr556uwqt54aiwrol2fyqtx2n4ymgfbc6mu` | +| skill/fetchai/erc1155_client/0.28.0 | `bafybeigxb23zt2wtgsoueg3dufvtgxzcxyw5jmgmern7a5zvinlikbhj34` | +| skill/fetchai/erc1155_deploy/0.30.0 | `bafybeidobkacya3b5xikc6gu47s6pnc5x2rfx2xdgquursqwp7bwqgnb24` | | skill/fetchai/error/0.17.0 | `bafybeicboomvykqhel3otyv4qg5t3hzpo6kmn5bk4ljluithhuieu7flsm` | | skill/fetchai/fipa_dummy_buyer/0.2.0 | `bafybeidgso7lo5ay44mbxsp3lxilrgeek3ye44e6wus2ayq6kyxfvc3vjm` | -| skill/fetchai/generic_buyer/0.26.0 | `bafybeif5q4xb45m5l2h6pikgqdieko4iojna5mou7byub5voajcxwxruo4` | -| skill/fetchai/generic_seller/0.27.0 | `bafybeie3dhsbasxhtkvpakxml6eyccqqpmog3kynyrl5khyrnw6hjjpdj4` | +| skill/fetchai/generic_buyer/0.26.0 | `bafybeif6pnkulvsdyq75zgcmpbqsqq3wq6uontnyiioqijjiuvgxb4orvi` | +| skill/fetchai/generic_seller/0.27.0 | `bafybeig46c256xfxnyyos6evfwjwybtsgxwa6235kfydwmen6mu4v5fvju` | | skill/fetchai/task_test_skill/0.1.0 | `bafybeidv77u2xl52mnxakwvh7fuh46aiwfpteyof4eaptfd4agoi6cdble` | | agent/fetchai/error_test/0.1.0 | `bafybeiecm675ndzbh35jkejtxn4ughoutztltjhgwzfbp57okabedjmnpq` | | agent/fetchai/gym_aea/0.25.0 | `bafybeibzn3qomqmkaksgpd3gn6aijffvvw7rojswhoytiovohuc737fvfm` | diff --git a/packages/fetchai/skills/erc1155_client/skill.yaml b/packages/fetchai/skills/erc1155_client/skill.yaml index 8acef4c775..816ed3054e 100644 --- a/packages/fetchai/skills/erc1155_client/skill.yaml +++ b/packages/fetchai/skills/erc1155_client/skill.yaml @@ -21,7 +21,7 @@ fingerprint: tests/test_strategy.py: bafybeicbxie3v6vue3gcnru6vsvggcgy3shxwrldis5gppizbuhooslcqa fingerprint_ignore_patterns: [] connections: -- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq +- valory/ledger:0.19.0:bafybeidcavfkdfp4ntrb3jtjyqfkrdwubmvuguekd2kdpzrw5kmnkoyb6y contracts: - fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4 protocols: diff --git a/packages/fetchai/skills/erc1155_deploy/skill.yaml b/packages/fetchai/skills/erc1155_deploy/skill.yaml index cc216289aa..f84aa54e80 100644 --- a/packages/fetchai/skills/erc1155_deploy/skill.yaml +++ b/packages/fetchai/skills/erc1155_deploy/skill.yaml @@ -21,7 +21,7 @@ fingerprint: tests/test_strategy.py: bafybeigxtw2j2c7vl6xhdwos62jbtmx62xfgdyadptm5eewmkesmcooyea fingerprint_ignore_patterns: [] connections: -- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq +- valory/ledger:0.19.0:bafybeidcavfkdfp4ntrb3jtjyqfkrdwubmvuguekd2kdpzrw5kmnkoyb6y contracts: - fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4 protocols: diff --git a/packages/fetchai/skills/generic_buyer/skill.yaml b/packages/fetchai/skills/generic_buyer/skill.yaml index e3afca86a3..1bd96c938a 100644 --- a/packages/fetchai/skills/generic_buyer/skill.yaml +++ b/packages/fetchai/skills/generic_buyer/skill.yaml @@ -19,7 +19,7 @@ fingerprint: tests/test_models.py: bafybeibh72j3n72yseqvmpppucpu5wtidf6ebxbxkfnmrnlh4zv5y5apei fingerprint_ignore_patterns: [] connections: -- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq +- valory/ledger:0.19.0:bafybeidcavfkdfp4ntrb3jtjyqfkrdwubmvuguekd2kdpzrw5kmnkoyb6y contracts: [] protocols: - fetchai/default:1.0.0:bafybeihdvtmnz7fzy7kwi3wlo6rfl27f6q3g5entplgvq7y23i3v5uoz24 diff --git a/packages/fetchai/skills/generic_seller/skill.yaml b/packages/fetchai/skills/generic_seller/skill.yaml index 145836c628..09aa9bba5b 100644 --- a/packages/fetchai/skills/generic_seller/skill.yaml +++ b/packages/fetchai/skills/generic_seller/skill.yaml @@ -20,7 +20,7 @@ fingerprint: tests/test_models.py: bafybeihabrc22zqssit3fmqhxptosy6qz6mx65ukhf5iayvirfv42xrhoq fingerprint_ignore_patterns: [] connections: -- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq +- valory/ledger:0.19.0:bafybeidcavfkdfp4ntrb3jtjyqfkrdwubmvuguekd2kdpzrw5kmnkoyb6y contracts: [] protocols: - fetchai/default:1.0.0:bafybeihdvtmnz7fzy7kwi3wlo6rfl27f6q3g5entplgvq7y23i3v5uoz24 diff --git a/packages/packages.json b/packages/packages.json index d02b9a7bf4..72075501d7 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -14,7 +14,7 @@ "contract/fetchai/erc1155/0.22.0": "bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4", "connection/fetchai/gym/0.19.0": "bafybeicqqvl4tt3qbulnkoffciagmfd6p3hxxi3i2mrrqtnbycv757pn6y", "connection/fetchai/stub/0.21.0": "bafybeibybboiwgklfiqpkkcw6rwj65s5jalzfzf6mh6fstxdlt6habzwvy", - "connection/valory/ledger/0.19.0": "bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq", + "connection/valory/ledger/0.19.0": "bafybeidcavfkdfp4ntrb3jtjyqfkrdwubmvuguekd2kdpzrw5kmnkoyb6y", "connection/valory/http_server/0.22.0": "bafybeihpgu56ovmq4npazdbh6y6ru5i7zuv6wvdglpxavsckyih56smu7m", "connection/valory/p2p_libp2p/0.1.0": "bafybeic2u7azbwjny2nhaltqnbohlvysx3x6ectzbege7sxwrbzcz4lcma", "connection/valory/p2p_libp2p_client/0.1.0": "bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e", @@ -26,12 +26,12 @@ "skill/fetchai/error_test_skill/0.1.0": "bafybeihsbtlpe7h6fsvoxban5rilkmwviwkokul5cqym6atoolirontiyu", "skill/fetchai/gym/0.20.0": "bafybeie7y2fsxfuhsqxqcaluo5exskmrm5q3a6e2hfcskcuvzvxjjhijh4", "skill/fetchai/http_echo/0.20.0": "bafybeicfiri2juaqh3azeit3z3rf44kgxdo6oj4lgxjgvnowq6m7j47qrm", - "skill/fetchai/erc1155_client/0.28.0": "bafybeihwk56assrj5xpu5dvyyajw7dgnk65eq2n3idd5pinxp5vortd6wi", - "skill/fetchai/erc1155_deploy/0.30.0": "bafybeiewhczeyrrml6shrd5dr556uwqt54aiwrol2fyqtx2n4ymgfbc6mu", + "skill/fetchai/erc1155_client/0.28.0": "bafybeidk4nfrq3p2z4ll42r7ma5ztp2nh5sevnf4nnfr7dt3qqqyzeyp4u", + "skill/fetchai/erc1155_deploy/0.30.0": "bafybeigzclzbhs6phgcqxd4m4xaubskqgpkfivmmmescddwzreswodmm6a", "skill/fetchai/error/0.17.0": "bafybeicboomvykqhel3otyv4qg5t3hzpo6kmn5bk4ljluithhuieu7flsm", "skill/fetchai/fipa_dummy_buyer/0.2.0": "bafybeidgso7lo5ay44mbxsp3lxilrgeek3ye44e6wus2ayq6kyxfvc3vjm", - "skill/fetchai/generic_buyer/0.26.0": "bafybeif5q4xb45m5l2h6pikgqdieko4iojna5mou7byub5voajcxwxruo4", - "skill/fetchai/generic_seller/0.27.0": "bafybeie3dhsbasxhtkvpakxml6eyccqqpmog3kynyrl5khyrnw6hjjpdj4", + "skill/fetchai/generic_buyer/0.26.0": "bafybeibu2b54cup4a5vx762mkzdhqzvnfnhw73cwohzk5y5cnwcmxt3cvq", + "skill/fetchai/generic_seller/0.27.0": "bafybeibzhvrf46g7f4fk3l7w3obfofwpf36pe65eyl3losxmnt7fe7j5rq", "skill/fetchai/task_test_skill/0.1.0": "bafybeidv77u2xl52mnxakwvh7fuh46aiwfpteyof4eaptfd4agoi6cdble", "agent/fetchai/error_test/0.1.0": "bafybeiecm675ndzbh35jkejtxn4ughoutztltjhgwzfbp57okabedjmnpq", "agent/fetchai/gym_aea/0.25.0": "bafybeibzn3qomqmkaksgpd3gn6aijffvvw7rojswhoytiovohuc737fvfm", diff --git a/packages/valory/connections/ledger/connection.yaml b/packages/valory/connections/ledger/connection.yaml index c7613267d9..b74836817b 100644 --- a/packages/valory/connections/ledger/connection.yaml +++ b/packages/valory/connections/ledger/connection.yaml @@ -16,7 +16,7 @@ fingerprint: tests/conftest.py: bafybeid7vo7e2m76ey5beeadtbxywxx5ukefd5slwbc362rwmhht6i45ou tests/test_contract_dispatcher.py: bafybeiag5lnpc7h25w23ash4hk4cowxsy5buxgpr474l3tfewnhf56eqyq tests/test_ledger.py: bafybeigcedfr3yv3jse3xwrerrgwbelgb56uhgrvdus527d3daekh6dx4m - tests/test_ledger_api.py: bafybeifw5smawex5m2fm6rt4kmunc22kpabalmshh45qb3xnuap33sfgyi + tests/test_ledger_api.py: bafybeih5nnuqka2hho2xc2g7phgdhhgywjahahjbc2ukdpqafwbv2dygem fingerprint_ignore_patterns: [] connections: [] protocols: diff --git a/tests/data/dummy_aea/aea-config.yaml b/tests/data/dummy_aea/aea-config.yaml index 9e24b4a41d..dc7921184d 100644 --- a/tests/data/dummy_aea/aea-config.yaml +++ b/tests/data/dummy_aea/aea-config.yaml @@ -57,6 +57,7 @@ connection_private_key_paths: fetchai: fetchai_private_key.txt default_routing: {} dependencies: {} +customs: [] --- public_id: dummy_author/test_skill:0.1.0 type: skill