From 953039d1c01a65ee9d1d2e33a857e7de911c6770 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Wed, 1 Nov 2023 00:44:16 +0530 Subject: [PATCH] rm : prevrandao --- core/vm/jump_table.go | 15 +++++++++------ packaging/templates/package_scripts/control | 2 +- packaging/templates/package_scripts/control.arm64 | 2 +- .../package_scripts/control.profile.amd64 | 2 +- .../package_scripts/control.profile.arm64 | 2 +- .../templates/package_scripts/control.validator | 2 +- .../package_scripts/control.validator.arm64 | 2 +- params/version.go | 2 +- 8 files changed, 16 insertions(+), 13 deletions(-) diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index c98455b8f6..606f8b8af9 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -90,12 +90,15 @@ func newShanghaiInstructionSet() JumpTable { func newMergeInstructionSet() JumpTable { instructionSet := newLondonInstructionSet() - instructionSet[PREVRANDAO] = &operation{ - execute: opRandom, - constantGas: GasQuickStep, - minStack: minStack(0, 1), - maxStack: maxStack(0, 1), - } + + // disabling in pos due to incompatibility with prevrandao + + // instructionSet[PREVRANDAO] = &operation{ + // execute: opRandom, + // constantGas: GasQuickStep, + // minStack: minStack(0, 1), + // maxStack: maxStack(0, 1), + // } return validate(instructionSet) } diff --git a/packaging/templates/package_scripts/control b/packaging/templates/package_scripts/control index 0c9afde99f..7ef6e2cf2c 100644 --- a/packaging/templates/package_scripts/control +++ b/packaging/templates/package_scripts/control @@ -1,5 +1,5 @@ Source: bor -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/packaging/templates/package_scripts/control.arm64 b/packaging/templates/package_scripts/control.arm64 index e559c9bb0b..163f97777b 100644 --- a/packaging/templates/package_scripts/control.arm64 +++ b/packaging/templates/package_scripts/control.arm64 @@ -1,5 +1,5 @@ Source: bor -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/packaging/templates/package_scripts/control.profile.amd64 b/packaging/templates/package_scripts/control.profile.amd64 index c12a428d8f..295bc86751 100644 --- a/packaging/templates/package_scripts/control.profile.amd64 +++ b/packaging/templates/package_scripts/control.profile.amd64 @@ -1,5 +1,5 @@ Source: bor-profile -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/packaging/templates/package_scripts/control.profile.arm64 b/packaging/templates/package_scripts/control.profile.arm64 index 31cfe1d15a..8f357dfde8 100644 --- a/packaging/templates/package_scripts/control.profile.arm64 +++ b/packaging/templates/package_scripts/control.profile.arm64 @@ -1,5 +1,5 @@ Source: bor-profile -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/packaging/templates/package_scripts/control.validator b/packaging/templates/package_scripts/control.validator index 441c85bbd4..8fbb02bcd9 100644 --- a/packaging/templates/package_scripts/control.validator +++ b/packaging/templates/package_scripts/control.validator @@ -1,5 +1,5 @@ Source: bor-profile -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/packaging/templates/package_scripts/control.validator.arm64 b/packaging/templates/package_scripts/control.validator.arm64 index da10b8a16f..498fab58db 100644 --- a/packaging/templates/package_scripts/control.validator.arm64 +++ b/packaging/templates/package_scripts/control.validator.arm64 @@ -1,5 +1,5 @@ Source: bor-profile -Version: 1.1.0-beta3 +Version: 1.1.0-beta4 Section: develop Priority: standard Maintainer: Polygon diff --git a/params/version.go b/params/version.go index 19cb9e5fba..ff36680892 100644 --- a/params/version.go +++ b/params/version.go @@ -24,7 +24,7 @@ const ( VersionMajor = 1 // Major version component of the current release VersionMinor = 1 // Minor version component of the current release VersionPatch = 0 // Patch version component of the current release - VersionMeta = "beta3" // Version metadata to append to the version string + VersionMeta = "beta4" // Version metadata to append to the version string ) var GitCommit string