Skip to content

Commit

Permalink
feat: use proper vm version in Ceres
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Aug 7, 2023
1 parent 5df22dd commit bcaa5cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/aeternity_node_mean16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ chain:
persist: false
hard_forks:
"1": 0
"6": 1
"5": 1

mining:
autostart: true
Expand Down
1 change: 1 addition & 0 deletions src/tx/builder/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export enum VmVersion {
Fate = 5,
SophiaImprovementsLima = 6,
Fate2 = 7,
Fate3 = 8,
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/tx/builder/field-types/ct-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const ProtocolToVmAbi = {
},
[ConsensusProtocolVersion.Ceres]: {
'contract-create': {
vmVersion: [VmVersion.Fate2], abiVersion: [AbiVersion.Fate],
vmVersion: [VmVersion.Fate3], abiVersion: [AbiVersion.Fate],
},
'contract-call': {
vmVersion: [], abiVersion: [AbiVersion.Fate],
Expand Down

0 comments on commit bcaa5cf

Please sign in to comment.