Merge pull request #1067 from maticnetwork/shivam/prevrandao-hotfix

rm : prevrandao
This commit is contained in:
Arpit Temani 2023-11-01 00:46:46 +05:30 committed by GitHub
commit b3f4b0b982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 13 deletions

View file

@ -90,12 +90,15 @@ func newShanghaiInstructionSet() JumpTable {
func newMergeInstructionSet() JumpTable { func newMergeInstructionSet() JumpTable {
instructionSet := newLondonInstructionSet() instructionSet := newLondonInstructionSet()
instructionSet[PREVRANDAO] = &operation{
execute: opRandom, // disabling in pos due to incompatibility with prevrandao
constantGas: GasQuickStep,
minStack: minStack(0, 1), // instructionSet[PREVRANDAO] = &operation{
maxStack: maxStack(0, 1), // execute: opRandom,
} // constantGas: GasQuickStep,
// minStack: minStack(0, 1),
// maxStack: maxStack(0, 1),
// }
return validate(instructionSet) return validate(instructionSet)
} }

View file

@ -1,5 +1,5 @@
Source: bor Source: bor
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -1,5 +1,5 @@
Source: bor Source: bor
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -1,5 +1,5 @@
Source: bor-profile Source: bor-profile
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -1,5 +1,5 @@
Source: bor-profile Source: bor-profile
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -1,5 +1,5 @@
Source: bor-profile Source: bor-profile
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -1,5 +1,5 @@
Source: bor-profile Source: bor-profile
Version: 1.1.0-beta3 Version: 1.1.0-beta4
Section: develop Section: develop
Priority: standard Priority: standard
Maintainer: Polygon <release-team@polygon.technology> Maintainer: Polygon <release-team@polygon.technology>

View file

@ -24,7 +24,7 @@ const (
VersionMajor = 1 // Major version component of the current release VersionMajor = 1 // Major version component of the current release
VersionMinor = 1 // Minor version component of the current release VersionMinor = 1 // Minor version component of the current release
VersionPatch = 0 // Patch 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 var GitCommit string