Skip to content

Commit 0073476

Browse files
do not remove no-op pebble support for non-64bit arch and use execution-spec-tests v1.0.6
1 parent 9bfd9d5 commit 0073476

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

build/checksums.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# This file contains sha256 checksums of optional build dependencies.
22

3-
# version:spec-tests 1.0.5
3+
# version:spec-tests 1.0.6
44
# https://github.com/ethereum/execution-spec-tests/releases
5-
# https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.5/
6-
d4fd06a0e5f94beb970f3c68374b38ef9de82d4be77517d326bcf739c3cbf3a2 fixtures_develop.tar.gz
5+
# https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.6/
6+
485af7b66cf41eb3a8c1bd46632913b8eb95995df867cf665617bbc9b4beedd1 fixtures_develop.tar.gz
77

88
# version:golang 1.21.3
99
# https://go.dev/dl/

ethdb/pebble/pebble.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17+
//go:build (arm64 || amd64) && !openbsd
18+
1719
// Package pebble implements the key-value database layer based on pebble.
1820
package pebble
1921

ethdb/pebble/pebble_non64bit.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//go:build !((arm64 || amd64) && !openbsd)
2+
3+
package pebble
4+
5+
import (
6+
"errors"
7+
8+
"github.com/ethereum/go-ethereum/ethdb"
9+
)
10+
11+
func New(file string, cache int, handles int, namespace string, readonly bool, ephemeral bool) (ethdb.Database, error) {
12+
return nil, errors.New("pebble is not supported on this platform")
13+
}

ethdb/pebble/pebble_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17+
//go:build (arm64 || amd64) && !openbsd
18+
1719
package pebble
1820

1921
import (

0 commit comments

Comments
 (0)