error msg

note

update make docker-image
This commit is contained in:
Roy Crihfield 2023-09-07 00:52:50 +08:00
parent ae33dce5af
commit 480b38cb8a
3 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,8 @@ $(MOCKS_DIR)/gen_backend.go:
github.com/openrelayxyz/plugeth-utils/core Backend,Downloader github.com/openrelayxyz/plugeth-utils/core Backend,Downloader
docker-image: mocks docker-image: mocks
docker build . -t "cerc/plugeth-statediff:local" docker build . -t "cerc/plugeth-statediff:local" \
--build-arg GIT_VDBTO_TOKEN=$(GIT_VDBTO_TOKEN)
.PHONY: docker-image .PHONY: docker-image
# Local build # Local build

View File

@ -7,7 +7,7 @@ laconic_so="${LACONIC_SO:-laconic-so} --stack fixturenet-plugeth-tx --verbose"
CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}") CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}")
# By default assume we are running in the project root # Point stack-orchestrator to the multi-project root
export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(realpath $(git rev-parse --show-toplevel)/..)}" export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(realpath $(git rev-parse --show-toplevel)/..)}"
# v5 migrations only go up to version 18 # v5 migrations only go up to version 18

View File

@ -63,18 +63,16 @@ func TestSymmetricDifferenceIterator(t *testing.T) {
triea.NodeIterator([]byte("jars")), triea.NodeIterator([]byte("jars")),
trieb.NodeIterator(nil)) trieb.NodeIterator(nil))
for di.Next(true) { for di.Next(true) {
t.Errorf("iterator should not yield any elements") t.Errorf("iterator should not yield any elements, but got key %s", di.Path())
t.Logf("%s", di.LeafKey())
} }
assert.Equal(t, 0, *count) assert.Equal(t, 0, *count)
// TODO will fail until merged: https://github.com/ethereum/go-ethereum/pull/27838 // // TODO will fail until merged: https://github.com/ethereum/go-ethereum/pull/27838
// di, count = utils.NewSymmetricDifferenceIterator( // di, count = utils.NewSymmetricDifferenceIterator(
// triea.NodeIterator([]byte("food")), // triea.NodeIterator([]byte("food")),
// trieb.NodeIterator(nil)) // trieb.NodeIterator(nil))
// for di.Next(true) { // for di.Next(true) {
// t.Errorf("iterator should not yield any elements") // t.Errorf("iterator should not yield any elements, but got key %s", di.Path())
// t.Logf("%s", di.LeafKey())
// } // }
// assert.Equal(t, 0, *count) // assert.Equal(t, 0, *count)
}) })