Skip to content

Commit f1e2e19

Browse files
authored
Merge pull request #756 from valory-xyz/fix/pricing
Fix pricing
2 parents 80b4321 + 3a15c5d commit f1e2e19

File tree

34 files changed

+181
-84
lines changed

34 files changed

+181
-84
lines changed

HISTORY.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History - open AEA
22

3+
## 1.56.0 (2024-09-17)
4+
5+
Plugins:
6+
- Fixes the pricing logic. #756
7+
38
## 1.55.0 (2024-08-05)
49

510
Plugins:

SECURITY.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The following table shows which versions of `open-aea` are currently being suppo
88

99
| Version | Supported |
1010
|------------| ------------------ |
11-
| `1.55.x` | :white_check_mark: |
12-
| `< 1.55.0` | :x: |
11+
| `1.56.x` | :white_check_mark: |
12+
| `< 1.56.0` | :x: |
1313

1414
## Reporting a Vulnerability
1515

aea/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__title__ = "open-aea"
2424
__description__ = "Open Autonomous Economic Agent framework (without vendor lock-in)"
2525
__url__ = "https://github.com/valory-xyz/open-aea.git"
26-
__version__ = "1.55.0"
26+
__version__ = "1.56.0"
2727
__author__ = "Valory AG"
2828
__license__ = "Apache-2.0"
2929
__copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited"

aea/skills/scaffold/skill.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ models:
3232
class_name: MyModel
3333
dependencies: {}
3434
is_abstract: false
35+
customs: []

deploy-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apk add --no-cache go
1616

1717
# aea installation
1818
RUN pip install --upgrade pip
19-
RUN pip install --upgrade --force-reinstall open-aea[all]==1.55.0 "open-aea-cli-ipfs<2.0.0,>=1.55.0"
19+
RUN pip install --upgrade --force-reinstall open-aea[all]==1.56.0 "open-aea-cli-ipfs<2.0.0,>=1.56.0"
2020

2121
# directories and aea cli config
2222
WORKDIR /home/agents

deploy-image/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The example uses the `fetchai/my_first_aea` project. You will likely want to mod
1111
Install subversion, then download the example directory to your local working directory
1212

1313
``` bash
14-
svn checkout https://github.com/valory-xyz/open-aea/tags/v1.55.0/packages packages
14+
svn checkout https://github.com/valory-xyz/open-aea/tags/v1.56.0/packages packages
1515
```
1616

1717
### Modify scripts

develop-image/docker-env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Swap the following lines if you want to work with 'latest'
4-
DOCKER_IMAGE_TAG=valory/open-aea-develop:1.55.0
4+
DOCKER_IMAGE_TAG=valory/open-aea-develop:1.56.0
55
# DOCKER_IMAGE_TAG=valory/open-aea-develop:latest
66

77
DOCKER_BUILD_CONTEXT_DIR=..

docs/api/plugins/aea_ledger_ethereum/ethereum.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ Round WEI to equivalent GWEI
4747
#### get`_`base`_`fee`_`multiplier
4848

4949
```python
50-
def get_base_fee_multiplier(base_fee_gwei: int) -> float
50+
def get_base_fee_multiplier(
51+
base_fee_gwei: Union[int, decimal.Decimal]) -> float
5152
```
5253

5354
Returns multiplier value.
@@ -58,9 +59,9 @@ Returns multiplier value.
5859

5960
```python
6061
def estimate_priority_fee(
61-
web3_object: Web3, base_fee_gwei: int, block_number: int,
62-
priority_fee_estimation_trigger: int, default_priority_fee: int,
63-
fee_history_blocks: int, fee_history_percentile: int,
62+
web3_object: Web3, block_number: int,
63+
default_priority_fee: Optional[int], fee_history_blocks: int,
64+
fee_history_percentile: int,
6465
priority_fee_increase_boundary: int) -> Optional[int]
6566
```
6667

@@ -73,7 +74,7 @@ Estimate priority fee from base fee.
7374
```python
7475
def get_gas_price_strategy_eip1559(
7576
max_gas_fast: int, fee_history_blocks: int, fee_history_percentile: int,
76-
priority_fee_estimation_trigger: int, default_priority_fee: int,
77+
default_priority_fee: Optional[int],
7778
fallback_estimate: Dict[str,
7879
Optional[int]], priority_fee_increase_boundary: int
7980
) -> Callable[[Web3, TxParams], Dict[str, Wei]]

docs/package_list.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| contract/fetchai/erc1155/0.22.0 | `bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4` |
1515
| connection/fetchai/gym/0.19.0 | `bafybeicqqvl4tt3qbulnkoffciagmfd6p3hxxi3i2mrrqtnbycv757pn6y` |
1616
| connection/fetchai/stub/0.21.0 | `bafybeibybboiwgklfiqpkkcw6rwj65s5jalzfzf6mh6fstxdlt6habzwvy` |
17-
| connection/valory/ledger/0.19.0 | `bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq` |
17+
| connection/valory/ledger/0.19.0 | `bafybeibigvowo52dw3tqwmxkdxtq52qzm6iqw752gpzpi23kgej4k3sum4` |
1818
| connection/valory/http_server/0.22.0 | `bafybeihpgu56ovmq4npazdbh6y6ru5i7zuv6wvdglpxavsckyih56smu7m` |
1919
| connection/valory/p2p_libp2p/0.1.0 | `bafybeic2u7azbwjny2nhaltqnbohlvysx3x6ectzbege7sxwrbzcz4lcma` |
2020
| connection/valory/p2p_libp2p_client/0.1.0 | `bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e` |
@@ -26,12 +26,12 @@
2626
| skill/fetchai/error_test_skill/0.1.0 | `bafybeihsbtlpe7h6fsvoxban5rilkmwviwkokul5cqym6atoolirontiyu` |
2727
| skill/fetchai/gym/0.20.0 | `bafybeie7y2fsxfuhsqxqcaluo5exskmrm5q3a6e2hfcskcuvzvxjjhijh4` |
2828
| skill/fetchai/http_echo/0.20.0 | `bafybeicfiri2juaqh3azeit3z3rf44kgxdo6oj4lgxjgvnowq6m7j47qrm` |
29-
| skill/fetchai/erc1155_client/0.28.0 | `bafybeihwk56assrj5xpu5dvyyajw7dgnk65eq2n3idd5pinxp5vortd6wi` |
30-
| skill/fetchai/erc1155_deploy/0.30.0 | `bafybeiewhczeyrrml6shrd5dr556uwqt54aiwrol2fyqtx2n4ymgfbc6mu` |
29+
| skill/fetchai/erc1155_client/0.28.0 | `bafybeigeoxvo3dabzbhjphu2n32wn5bomhv7b6ge6ogcte7qa6h42rwn5a` |
30+
| skill/fetchai/erc1155_deploy/0.30.0 | `bafybeialn4tcp4vs7nousugfjpin5r37vhd2qcmphi3fs7ob66kcwb5gu4` |
3131
| skill/fetchai/error/0.17.0 | `bafybeicboomvykqhel3otyv4qg5t3hzpo6kmn5bk4ljluithhuieu7flsm` |
3232
| skill/fetchai/fipa_dummy_buyer/0.2.0 | `bafybeidgso7lo5ay44mbxsp3lxilrgeek3ye44e6wus2ayq6kyxfvc3vjm` |
33-
| skill/fetchai/generic_buyer/0.26.0 | `bafybeif5q4xb45m5l2h6pikgqdieko4iojna5mou7byub5voajcxwxruo4` |
34-
| skill/fetchai/generic_seller/0.27.0 | `bafybeie3dhsbasxhtkvpakxml6eyccqqpmog3kynyrl5khyrnw6hjjpdj4` |
33+
| skill/fetchai/generic_buyer/0.26.0 | `bafybeienntvkd7blbbc4p624dop7tz4iejtpi36somhohbi4tmxd63ksr4` |
34+
| skill/fetchai/generic_seller/0.27.0 | `bafybeid4y4p2xlnkezvtzhgwfdzrowhul34md64shf3jv5nskpggskc3fm` |
3535
| skill/fetchai/task_test_skill/0.1.0 | `bafybeidv77u2xl52mnxakwvh7fuh46aiwfpteyof4eaptfd4agoi6cdble` |
3636
| agent/fetchai/error_test/0.1.0 | `bafybeiecm675ndzbh35jkejtxn4ughoutztltjhgwzfbp57okabedjmnpq` |
3737
| agent/fetchai/gym_aea/0.25.0 | `bafybeibzn3qomqmkaksgpd3gn6aijffvvw7rojswhoytiovohuc737fvfm` |

docs/upgrading.md

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Below we describe the additional manual steps required to upgrade between differ
99

1010
### Upgrade guide
1111

12+
## `v1.55.0` to `v1.56.0`
13+
14+
- The `priority_fee_estimation_trigger` has been removed from the `eip1559` configuration of the ledger.
15+
- The `default_priority_fee` is now optional.
16+
If it is set to `None`, dynamic pricing will be applied.
17+
Otherwise, the specified value will be used.
18+
1219
## `v1.54.0` to `v1.55.0`
1320

1421
- No backwards incompatible changes

examples/tac_deploy/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apk add --no-cache go
1919

2020
# aea installation
2121
RUN python -m pip install --upgrade pip
22-
RUN pip install --upgrade --force-reinstall open-aea[all]==1.55.0
22+
RUN pip install --upgrade --force-reinstall open-aea[all]==1.56.0
2323

2424
# directories and aea cli config
2525
COPY /.aea /home/.aea

packages/fetchai/skills/erc1155_client/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fingerprint:
2121
tests/test_strategy.py: bafybeicbxie3v6vue3gcnru6vsvggcgy3shxwrldis5gppizbuhooslcqa
2222
fingerprint_ignore_patterns: []
2323
connections:
24-
- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq
24+
- valory/ledger:0.19.0:bafybeigntoericenpzvwejqfuc3kqzo2pscs76qoygg5dbj6f4zxusru5e
2525
contracts:
2626
- fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4
2727
protocols:

packages/fetchai/skills/erc1155_deploy/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fingerprint:
2121
tests/test_strategy.py: bafybeigxtw2j2c7vl6xhdwos62jbtmx62xfgdyadptm5eewmkesmcooyea
2222
fingerprint_ignore_patterns: []
2323
connections:
24-
- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq
24+
- valory/ledger:0.19.0:bafybeigntoericenpzvwejqfuc3kqzo2pscs76qoygg5dbj6f4zxusru5e
2525
contracts:
2626
- fetchai/erc1155:0.22.0:bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4
2727
protocols:

packages/fetchai/skills/generic_buyer/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fingerprint:
1919
tests/test_models.py: bafybeibh72j3n72yseqvmpppucpu5wtidf6ebxbxkfnmrnlh4zv5y5apei
2020
fingerprint_ignore_patterns: []
2121
connections:
22-
- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq
22+
- valory/ledger:0.19.0:bafybeigntoericenpzvwejqfuc3kqzo2pscs76qoygg5dbj6f4zxusru5e
2323
contracts: []
2424
protocols:
2525
- fetchai/default:1.0.0:bafybeihdvtmnz7fzy7kwi3wlo6rfl27f6q3g5entplgvq7y23i3v5uoz24

packages/fetchai/skills/generic_seller/skill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fingerprint:
2020
tests/test_models.py: bafybeihabrc22zqssit3fmqhxptosy6qz6mx65ukhf5iayvirfv42xrhoq
2121
fingerprint_ignore_patterns: []
2222
connections:
23-
- valory/ledger:0.19.0:bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq
23+
- valory/ledger:0.19.0:bafybeigntoericenpzvwejqfuc3kqzo2pscs76qoygg5dbj6f4zxusru5e
2424
contracts: []
2525
protocols:
2626
- fetchai/default:1.0.0:bafybeihdvtmnz7fzy7kwi3wlo6rfl27f6q3g5entplgvq7y23i3v5uoz24

packages/packages.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"contract/fetchai/erc1155/0.22.0": "bafybeiff7a6xncyad53o2r7lekpnhexcspze6ocy55xtpzqeuacnlpunm4",
1515
"connection/fetchai/gym/0.19.0": "bafybeicqqvl4tt3qbulnkoffciagmfd6p3hxxi3i2mrrqtnbycv757pn6y",
1616
"connection/fetchai/stub/0.21.0": "bafybeibybboiwgklfiqpkkcw6rwj65s5jalzfzf6mh6fstxdlt6habzwvy",
17-
"connection/valory/ledger/0.19.0": "bafybeihynkdraqthjtv74qk3nc5r2xubniqx2hhzpxn7bd4qmlf7q4wruq",
17+
"connection/valory/ledger/0.19.0": "bafybeigntoericenpzvwejqfuc3kqzo2pscs76qoygg5dbj6f4zxusru5e",
1818
"connection/valory/http_server/0.22.0": "bafybeihpgu56ovmq4npazdbh6y6ru5i7zuv6wvdglpxavsckyih56smu7m",
1919
"connection/valory/p2p_libp2p/0.1.0": "bafybeic2u7azbwjny2nhaltqnbohlvysx3x6ectzbege7sxwrbzcz4lcma",
2020
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e",
@@ -26,12 +26,12 @@
2626
"skill/fetchai/error_test_skill/0.1.0": "bafybeihsbtlpe7h6fsvoxban5rilkmwviwkokul5cqym6atoolirontiyu",
2727
"skill/fetchai/gym/0.20.0": "bafybeie7y2fsxfuhsqxqcaluo5exskmrm5q3a6e2hfcskcuvzvxjjhijh4",
2828
"skill/fetchai/http_echo/0.20.0": "bafybeicfiri2juaqh3azeit3z3rf44kgxdo6oj4lgxjgvnowq6m7j47qrm",
29-
"skill/fetchai/erc1155_client/0.28.0": "bafybeihwk56assrj5xpu5dvyyajw7dgnk65eq2n3idd5pinxp5vortd6wi",
30-
"skill/fetchai/erc1155_deploy/0.30.0": "bafybeiewhczeyrrml6shrd5dr556uwqt54aiwrol2fyqtx2n4ymgfbc6mu",
29+
"skill/fetchai/erc1155_client/0.28.0": "bafybeih7q6b2lcqcbh7rln3mgcnbtzlw7cpzjl23znnz6jj74cc4noahvq",
30+
"skill/fetchai/erc1155_deploy/0.30.0": "bafybeigoarj6k2czdhhfqzry5w5jn2ux7chszem37zxiqy3232jr2mxs64",
3131
"skill/fetchai/error/0.17.0": "bafybeicboomvykqhel3otyv4qg5t3hzpo6kmn5bk4ljluithhuieu7flsm",
3232
"skill/fetchai/fipa_dummy_buyer/0.2.0": "bafybeidgso7lo5ay44mbxsp3lxilrgeek3ye44e6wus2ayq6kyxfvc3vjm",
33-
"skill/fetchai/generic_buyer/0.26.0": "bafybeif5q4xb45m5l2h6pikgqdieko4iojna5mou7byub5voajcxwxruo4",
34-
"skill/fetchai/generic_seller/0.27.0": "bafybeie3dhsbasxhtkvpakxml6eyccqqpmog3kynyrl5khyrnw6hjjpdj4",
33+
"skill/fetchai/generic_buyer/0.26.0": "bafybeihzzcbki3p5l4nt5spbddx6nzbejv7b6nruhycwaxfrstjwmrfucq",
34+
"skill/fetchai/generic_seller/0.27.0": "bafybeig3ffbcefeandebzepxabztob5sdkumydzla52k7pvztmjfegwflq",
3535
"skill/fetchai/task_test_skill/0.1.0": "bafybeidv77u2xl52mnxakwvh7fuh46aiwfpteyof4eaptfd4agoi6cdble",
3636
"agent/fetchai/error_test/0.1.0": "bafybeiecm675ndzbh35jkejtxn4ughoutztltjhgwzfbp57okabedjmnpq",
3737
"agent/fetchai/gym_aea/0.25.0": "bafybeibzn3qomqmkaksgpd3gn6aijffvvw7rojswhoytiovohuc737fvfm",

packages/valory/connections/ledger/connection.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fingerprint:
1616
tests/conftest.py: bafybeid7vo7e2m76ey5beeadtbxywxx5ukefd5slwbc362rwmhht6i45ou
1717
tests/test_contract_dispatcher.py: bafybeiag5lnpc7h25w23ash4hk4cowxsy5buxgpr474l3tfewnhf56eqyq
1818
tests/test_ledger.py: bafybeigcedfr3yv3jse3xwrerrgwbelgb56uhgrvdus527d3daekh6dx4m
19-
tests/test_ledger_api.py: bafybeifw5smawex5m2fm6rt4kmunc22kpabalmshh45qb3xnuap33sfgyi
19+
tests/test_ledger_api.py: bafybeihlwfzfffyr3gcrwa74g2ctoeymv76ahnxbxyal3xikgb7ftvpnl4
2020
fingerprint_ignore_patterns: []
2121
connections: []
2222
protocols:
@@ -37,8 +37,7 @@ config:
3737
max_gas_fast: 1500
3838
fee_history_blocks: 10
3939
fee_history_percentile: 5
40-
priority_fee_estimation_trigger: 100
41-
default_priority_fee: 3
40+
default_priority_fee: null
4241
fallback_estimate:
4342
maxFeePerGas: 20000000000
4443
maxPriorityFeePerGas: 3000000000

packages/valory/connections/ledger/tests/test_ledger_api.py

+80-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# ------------------------------------------------------------------------------
33
#
4-
# Copyright 2021-2023 Valory AG
4+
# Copyright 2021-2024 Valory AG
55
# Copyright 2018-2019 Fetch.AI Limited
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -36,7 +36,9 @@
3636
DEFAULT_GANACHE_CHAIN_ID,
3737
ganache,
3838
)
39+
from eth_typing import BlockNumber
3940
from web3.eth import Eth
41+
from web3.types import FeeHistory, Wei
4042

4143
from aea.common import Address
4244
from aea.configurations.data_types import PublicId
@@ -85,7 +87,7 @@
8587
],
8688
)
8789
# TODO: uncomment gas station strategy config after the gasstation API start
88-
gas_strategies = pytest.mark.parametrize(
90+
gas_strategies_parametrization = pytest.mark.parametrize(
8991
"gas_strategies",
9092
[
9193
{"gas_price_strategy": None},
@@ -98,6 +100,66 @@
98100
],
99101
)
100102

103+
fee_history_mock = patch("web3.eth.Eth.fee_history")
104+
105+
fee_history_parametrization = pytest.mark.parametrize(
106+
"fee_history",
107+
(
108+
FeeHistory(
109+
baseFeePerGas=[Wei(0)],
110+
gasUsedRatio=[0],
111+
oldestBlock=BlockNumber(0),
112+
reward=[[Wei(0)]],
113+
),
114+
FeeHistory(
115+
baseFeePerGas=[
116+
Wei(int("0x180b5d502", 16)),
117+
Wei(int("0x18f9534de", 16)),
118+
Wei(int("0x18367e3a6", 16)),
119+
Wei(int("0x17e4519ed", 16)),
120+
Wei(int("0x179eb57e1", 16)),
121+
Wei(int("0x178ac8e88", 16)),
122+
Wei(int("0x177434776", 16)),
123+
Wei(int("0x17b4c8c2d", 16)),
124+
Wei(int("0x173695e84", 16)),
125+
Wei(int("0x1706c1f66", 16)),
126+
Wei(int("0x155600bc6", 16)),
127+
],
128+
gasUsedRatio=[
129+
0.6546364333333333,
130+
0.37810266666666664,
131+
0.44697146666666665,
132+
0.4544759666666667,
133+
0.48681983333333334,
134+
0.4850136666666667,
135+
0.5430227,
136+
0.4168211333333333,
137+
0.46780666666666665,
138+
0.206346,
139+
],
140+
oldestBlock=BlockNumber(int("0x13cd298", 16)),
141+
reward=[
142+
[Wei(int("0xf4240", 16))],
143+
[Wei(int("0xf4240", 16))],
144+
[Wei(int("0xf4240", 16))],
145+
[Wei(int("0x0", 16))],
146+
[Wei(int("0xf4240", 16))],
147+
[Wei(int("0xf4240", 16))],
148+
[Wei(int("0xf4240", 16))],
149+
[Wei(int("0x124f80", 16))],
150+
[Wei(int("0x919f8", 16))],
151+
[Wei(int("0xf4240", 16))],
152+
],
153+
),
154+
FeeHistory(
155+
baseFeePerGas=[],
156+
gasUsedRatio=[],
157+
oldestBlock=BlockNumber(0),
158+
reward=[],
159+
),
160+
),
161+
)
162+
101163

102164
class LedgerApiDialogues(BaseLedgerApiDialogues):
103165
"""The dialogues class keeps track of all ledger_api dialogues."""
@@ -220,17 +282,23 @@ async def test_get_state(
220282
)
221283
assert actual_block == expected_block
222284

285+
@fee_history_mock
223286
@pytest.mark.asyncio
224-
@gas_strategies
287+
@gas_strategies_parametrization
288+
@fee_history_parametrization
225289
async def test_get_raw_transaction(
226290
self,
291+
fee_history_mock_: Mock,
227292
gas_strategies: Dict,
293+
fee_history: FeeHistory,
228294
ledger_apis_connection: Connection,
229295
update_default_ethereum_ledger_api: None,
230296
) -> None:
231297
"""Test get raw transaction with Ethereum APIs."""
232298
import aea # noqa # to load registries
233299

300+
fee_history_mock_.return_value = fee_history
301+
234302
crypto1 = make_crypto(
235303
EthereumCrypto.identifier, private_key_path=ETHEREUM_PRIVATE_KEY_PATH
236304
)
@@ -281,12 +349,19 @@ async def test_get_raw_transaction(
281349
assert isinstance(response_message.raw_transaction, RawTransaction)
282350
assert response_message.raw_transaction.ledger_id == request.terms.ledger_id
283351

352+
@fee_history_mock
284353
@pytest.mark.asyncio
285-
@gas_strategies
354+
@gas_strategies_parametrization
355+
@fee_history_parametrization
286356
async def test_send_signed_transaction_ethereum(
287-
self, gas_strategies: Dict, ledger_apis_connection: LedgerConnection
357+
self,
358+
fee_history_mock_: Mock,
359+
gas_strategies: Dict,
360+
fee_history: FeeHistory,
361+
ledger_apis_connection: LedgerConnection,
288362
) -> None:
289363
"""Test send signed transaction with Ethereum APIs."""
364+
fee_history_mock_.return_value = fee_history
290365
ledger_api_dialogues = LedgerApiDialogues(SOME_SKILL_ID)
291366

292367
crypto1 = make_crypto(

plugins/aea-cli-benchmark/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="open-aea-cli-benchmark",
29-
version="1.55.0",
29+
version="1.56.0",
3030
author="Valory AG",
3131
license="Apache-2.0",
3232
description="CLI extension for AEA framework benchmarking.",

plugins/aea-cli-ipfs/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
setup(
3030
name="open-aea-cli-ipfs",
31-
version="1.55.0",
31+
version="1.56.0",
3232
author="Valory AG",
3333
license="Apache-2.0",
3434
description="CLI extension for open AEA framework wrapping IPFS functionality.",

plugins/aea-ledger-cosmos/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="open-aea-ledger-cosmos",
29-
version="1.55.0",
29+
version="1.56.0",
3030
author="Valory AG",
3131
license="Apache-2.0",
3232
description="Python package wrapping the public and private key cryptography and ledger api of Cosmos.",

0 commit comments

Comments
 (0)