Commit c5875fc 1 parent c3b366a commit c5875fc Copy full SHA for c5875fc
File tree 22 files changed +48
-28
lines changed
aea-ledger-ethereum-flashbots
22 files changed +48
-28
lines changed Original file line number Diff line number Diff line change 1
1
# Release History - open AEA
2
2
3
+ ## 1.64.0 (2025-02-12)
4
+
5
+ Plugins:
6
+ - ` open-aea-ethereum ` now multiplies the base gas fee as before. #786
7
+
3
8
## 1.63.0 (2025-02-03)
4
9
5
10
Plugins:
Original file line number Diff line number Diff line change 23
23
__title__ = "open-aea"
24
24
__description__ = "Open Autonomous Economic Agent framework (without vendor lock-in)"
25
25
__url__ = "https://github.com/valory-xyz/open-aea.git"
26
- __version__ = "1.63 .0"
26
+ __version__ = "1.64 .0"
27
27
__author__ = "Valory AG"
28
28
__license__ = "Apache-2.0"
29
29
__copyright__ = "2021 Valory AG, 2019 Fetch.AI Limited"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apk add --no-cache go
16
16
17
17
# aea installation
18
18
RUN pip install --upgrade pip
19
- RUN pip install --upgrade --force-reinstall open-aea[all]==1.63 .0 "open-aea-cli-ipfs<2.0.0,>=1.63 .0"
19
+ RUN pip install --upgrade --force-reinstall open-aea[all]==1.64 .0 "open-aea-cli-ipfs<2.0.0,>=1.64 .0"
20
20
21
21
# directories and aea cli config
22
22
WORKDIR /home/agents
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The example uses the `fetchai/my_first_aea` project. You will likely want to mod
11
11
Install subversion, then download the example directory to your local working directory
12
12
13
13
``` bash
14
- svn checkout https://github.com/valory-xyz/open-aea/tags/v1.63 .0/packages packages
14
+ svn checkout https://github.com/valory-xyz/open-aea/tags/v1.64 .0/packages packages
15
15
```
16
16
17
17
### Modify scripts
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Swap the following lines if you want to work with 'latest'
4
- DOCKER_IMAGE_TAG=valory/open-aea-develop:1.63 .0
4
+ DOCKER_IMAGE_TAG=valory/open-aea-develop:1.64 .0
5
5
# DOCKER_IMAGE_TAG=valory/open-aea-develop:latest
6
6
7
7
DOCKER_BUILD_CONTEXT_DIR=..
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ Below we describe the additional manual steps required to upgrade between differ
9
9
10
10
### Upgrade guide
11
11
12
+ ## ` v1.63.0 ` to ` v1.64.0 `
13
+
14
+ - No backwards incompatible changes
15
+
12
16
## ` v1.62.0 ` to ` v1.63.0 `
13
17
14
18
- No backwards incompatible changes
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN apk add --no-cache go
19
19
20
20
# aea installation
21
21
RUN python -m pip install --upgrade pip
22
- RUN pip install --upgrade --force-reinstall open-aea[all]==1.63 .0
22
+ RUN pip install --upgrade --force-reinstall open-aea[all]==1.64 .0
23
23
24
24
# directories and aea cli config
25
25
COPY /.aea /home/.aea
Original file line number Diff line number Diff line change 26
26
27
27
setup (
28
28
name = "open-aea-cli-benchmark" ,
29
- version = "1.63 .0" ,
29
+ version = "1.64 .0" ,
30
30
author = "Valory AG" ,
31
31
license = "Apache-2.0" ,
32
32
description = "CLI extension for AEA framework benchmarking." ,
Original file line number Diff line number Diff line change 28
28
29
29
setup (
30
30
name = "open-aea-cli-ipfs" ,
31
- version = "1.63 .0" ,
31
+ version = "1.64 .0" ,
32
32
author = "Valory AG" ,
33
33
license = "Apache-2.0" ,
34
34
description = "CLI extension for open AEA framework wrapping IPFS functionality." ,
Original file line number Diff line number Diff line change 26
26
27
27
setup (
28
28
name = "open-aea-ledger-cosmos" ,
29
- version = "1.63 .0" ,
29
+ version = "1.64 .0" ,
30
30
author = "Valory AG" ,
31
31
license = "Apache-2.0" ,
32
32
description = "Python package wrapping the public and private key cryptography and ledger api of Cosmos." ,
Original file line number Diff line number Diff line change 25
25
26
26
setup (
27
27
name = "open-aea-ledger-ethereum-flashbots" ,
28
- version = "1.63 .0" ,
28
+ version = "1.64 .0" ,
29
29
author = "Valory AG" ,
30
30
license = "Apache-2.0" ,
31
31
description = "Python package extending the default open-aea ethereum ledger plugin to add support for flashbots." ,
41
41
},
42
42
python_requires = ">=3.9,<4.0" ,
43
43
install_requires = [
44
- "open-aea-ledger-ethereum~=1.63 .0" ,
44
+ "open-aea-ledger-ethereum~=1.64 .0" ,
45
45
"open-aea-flashbots==1.4.0" ,
46
46
],
47
47
tests_require = ["pytest" ],
Original file line number Diff line number Diff line change 25
25
26
26
setup (
27
27
name = "open-aea-ledger-ethereum-hwi" ,
28
- version = "1.63 .0" ,
28
+ version = "1.64 .0" ,
29
29
author = "Valory AG" ,
30
30
license = "Apache-2.0" ,
31
31
description = "Python package wrapping the public and private key cryptography and support for hardware wallet interactions." ,
42
42
"web3>=6.0.0,<7" ,
43
43
"ipfshttpclient==0.8.0a2" ,
44
44
"eth-account>=0.8.0,<0.9.0" ,
45
- "open-aea-ledger-ethereum~=1.63 .0" ,
45
+ "open-aea-ledger-ethereum~=1.64 .0" ,
46
46
"ledgerwallet==0.1.3" ,
47
47
"protobuf<4.25.0,>=4.21.6" ,
48
48
"construct<=2.10.61" ,
Original file line number Diff line number Diff line change @@ -282,6 +282,8 @@ def eip1559_price_strategy(
282
282
if base_fee is None or block_number is None :
283
283
return fallback ()
284
284
285
+ base_fee_gwei = to_eth_unit (base_fee )
286
+
285
287
estimated_priority_fee = estimate_priority_fee (
286
288
web3 ,
287
289
block_number ,
@@ -295,9 +297,19 @@ def eip1559_price_strategy(
295
297
if estimated_priority_fee is None :
296
298
return fallback ()
297
299
298
- max_fee_per_gas = base_fee + estimated_priority_fee
300
+ multiplier = get_base_fee_multiplier (base_fee_gwei )
301
+
302
+ potential_max_fee = base_fee * multiplier
303
+ max_fee_per_gas = (
304
+ (potential_max_fee + estimated_priority_fee )
305
+ if estimated_priority_fee > potential_max_fee
306
+ else potential_max_fee
307
+ )
299
308
300
- if to_eth_unit (max_fee_per_gas ) >= max_gas_fast :
309
+ if (
310
+ to_eth_unit (max_fee_per_gas ) >= max_gas_fast
311
+ or to_eth_unit (estimated_priority_fee ) >= max_gas_fast
312
+ ):
301
313
return fallback (
302
314
"The estimated gas price is larger than the `max_gas_fast`. Falling back."
303
315
)
Original file line number Diff line number Diff line change 26
26
27
27
setup (
28
28
name = "open-aea-ledger-ethereum" ,
29
- version = "1.63 .0" ,
29
+ version = "1.64 .0" ,
30
30
author = "Valory AG" ,
31
31
license = "Apache-2.0" ,
32
32
description = "Python package wrapping the public and private key cryptography and ledger api of Ethereum." ,
Original file line number Diff line number Diff line change 44
44
get_gas_price_strategy_eip1559 ,
45
45
requests ,
46
46
rpc_gas_price_strategy_wrapper ,
47
+ to_eth_unit ,
47
48
)
48
49
from aea_ledger_ethereum .ethereum import (
49
50
DEFAULT_EIP1559_STRATEGY ,
@@ -529,10 +530,8 @@ def test_gas_price_strategy_eip1559() -> None:
529
530
530
531
assert all ([key in gas_stregy for key in ["maxFeePerGas" , "maxPriorityFeePerGas" ]])
531
532
assert gas_stregy ["maxPriorityFeePerGas" ] < max (rewards )
532
- assert (
533
- gas_stregy ["maxFeePerGas" ]
534
- == base_fee_per_gas_mock + gas_stregy ["maxPriorityFeePerGas" ]
535
- )
533
+ base_fee_per_gas_mock *= get_base_fee_multiplier (to_eth_unit (base_fee_per_gas_mock ))
534
+ assert gas_stregy ["maxFeePerGas" ] == base_fee_per_gas_mock
536
535
537
536
538
537
def test_gas_price_strategy_eip1559_estimate_none () -> None :
Original file line number Diff line number Diff line change 31
31
32
32
setup (
33
33
name = "open-aea-ledger-fetchai" ,
34
- version = "1.63 .0" ,
34
+ version = "1.64 .0" ,
35
35
author = "Valory AG" ,
36
36
license = "Apache-2.0" ,
37
37
description = "Python package wrapping the public and private key cryptography and ledger API of Fetch.AI." ,
44
44
"test_tools/data/*" ,
45
45
]
46
46
},
47
- install_requires = ["open-aea-ledger-cosmos~=1.63 .0" ],
47
+ install_requires = ["open-aea-ledger-cosmos~=1.64 .0" ],
48
48
tests_require = ["pytest" ],
49
49
entry_points = {
50
50
"aea.cryptos" : ["fetchai = aea_ledger_fetchai:FetchAICrypto" ],
Original file line number Diff line number Diff line change 25
25
26
26
setup (
27
27
name = "open-aea-ledger-solana" ,
28
- version = "1.63 .0" ,
28
+ version = "1.64 .0" ,
29
29
author = "dassy23" ,
30
30
license = "Apache-2.0" ,
31
31
description = "Python package wrapping the public and private key cryptography and ledger api of solana." ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function instal_choco_golang_gcc {
34
34
}
35
35
function install_aea {
36
36
echo " Install aea"
37
- $output = pip install open-aea [all ]== 1.63 .0 -- force -- no- cache- dir 2>&1 | out-string ;
37
+ $output = pip install open-aea [all ]== 1.64 .0 -- force -- no- cache- dir 2>&1 | out-string ;
38
38
if ($LastExitCode -ne 0 ) {
39
39
echo $output
40
40
echo " AEA install failed!"
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function is_python_version_ok() {
42
42
43
43
function install_aea (){
44
44
echo " Install AEA"
45
- output=$( pip3 install --user open-aea[all]==1.63 .0 --force --no-cache-dir)
45
+ output=$( pip3 install --user open-aea[all]==1.64 .0 --force --no-cache-dir)
46
46
if [[ $? -ne 0 ]];
47
47
then
48
48
echo " $output "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
build :
6
6
tagPolicy :
7
7
envTemplate :
8
- template : " 1.63 .0"
8
+ template : " 1.64 .0"
9
9
artifacts :
10
10
- image : valory/open-aea-develop
11
11
docker :
@@ -24,7 +24,7 @@ profiles:
24
24
build :
25
25
tagPolicy :
26
26
envTemplate :
27
- template : " 1.63 .0"
27
+ template : " 1.64 .0"
28
28
artifacts :
29
29
- image : valory/open-aea-docs
30
30
docker :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ENV LANG C.UTF-8
7
7
RUN apt update && apt install -y python3.11-dev python3-pip -y && apt autoremove && apt autoclean
8
8
9
9
RUN pip3 install --upgrade pip
10
- RUN pip3 install "open-aea[all]==1.63 .0" open-aea-cli-ipfs==1.63 .0
10
+ RUN pip3 install "open-aea[all]==1.64 .0" open-aea-cli-ipfs==1.64 .0
11
11
12
12
COPY user-image/openssl.cnf /etc/ssl
13
13
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Swap the following lines if you want to work with 'latest'
4
- DOCKER_IMAGE_TAG=valory/open-aea-user:1.63 .0
4
+ DOCKER_IMAGE_TAG=valory/open-aea-user:1.64 .0
5
5
# DOCKER_IMAGE_TAG=valory/open-aea-user:latest
6
6
7
7
DOCKER_BUILD_CONTEXT_DIR=..
You can’t perform that action at this time.
0 commit comments