Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit fdd8018

Browse files
authored
fix: version range for node compatibility (#277)
1 parent 78ee8ef commit fdd8018

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# this is used by docker-compose.yml to for the node image tag
2-
NODE_TAG=v5.0.0-rc.5
3-
COMPILER_TAG=v3.2.0
2+
NODE_TAG=v5.0.1
3+
COMPILER_TAG=v4.0.0

aeternity/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pkg_resources
22

3-
__node_compatibility__ = (">=3.0.1", "<=5.0.0")
4-
__compiler_compatibility__ = (">=3.2.0", "<6.0.0")
3+
__node_compatibility__ = (">=3.0.1", "<=6.0.0")
4+
__compiler_compatibility__ = (">=3.2.0", "<5.0.0")
55

66

77
def _version():

docker/aeternity.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ chain:
2323
"1": 0
2424
"2": 2
2525
"3": 4
26+
"4": 6
2627

2728

2829
mining:

tests/test_aens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_name_update(chain_fixture):
122122

123123
def test_spend_by_name(chain_fixture):
124124
# claim a domain
125-
domain = random_domain(tld='chain' if chain_fixture.NODE_CLI.get_consensus_protocol_version() >= PROTOCOL_LIMA else 'test')
125+
domain = random_domain(tld='chain' if chain_fixture.NODE_CLI.get_consensus_protocol_version() >= PROTOCOL_LIMA else 'test', length=20)
126126
print(f"domain is {domain}")
127127
name = chain_fixture.NODE_CLI.AEName(domain)
128128
print("Claim name ", domain)

tests/test_contract_lima.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _sophia_contract_tx_create_online(node_cli, account):
2727
for t in tests:
2828
contract = node_cli.Contract()
2929
tx = contract.create(account, t.get("bytecode"), calldata=t.get("calldata"), gas=100000)
30-
c_id = tx.metatdata.contract_id
30+
c_id = tx.metadata.contract_id
3131
deployed = node_cli.get_contract(pubkey=c_id)
3232
assert deployed.active is True
3333
assert deployed.owner_id == account.get_address()
@@ -63,7 +63,7 @@ def _sophia_contract_tx_call_online(node_cli, account):
6363
print(f"call contract {t.get('name')}")
6464
contract = node_cli.Contract()
6565
tx = contract.create(account, t.get("bytecode"), calldata=t.get("init.calldata"))
66-
c_id = tx.metatdata.contract_id
66+
c_id = tx.metadata.contract_id
6767
deployed = node_cli.get_contract(pubkey=c_id)
6868
assert deployed.active is True
6969
assert deployed.owner_id == account.get_address()

0 commit comments

Comments
 (0)