Skip to content

fix: Add safety check in callTracer.CaptureEnd to prevent "incorrect number of top-level calls" error#4996

Open
GheisMohammadi wants to merge 3 commits into
devfrom
fix/tracer_issue_2
Open

fix: Add safety check in callTracer.CaptureEnd to prevent "incorrect number of top-level calls" error#4996
GheisMohammadi wants to merge 3 commits into
devfrom
fix/tracer_issue_2

fix: initialize callstack empty to match Ethereum behavior

0a49c63
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 22, 2026 in 30m 51s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #4996 fix: Add safety check in callTracer.CaptureEnd to prevent "incorrect number of top-level calls" error.
Any changes that have been made to the dev branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in parallel.

Job Go ENV OS State
16372.1 1.24.2 TEST="make" Linux passed
16372.2 1.24.2 TEST="bash ./scripts/travis_go_checker.sh" Linux passed
16372.3 1.24.2 TEST="bash ./scripts/travis_rpc_checker.sh" Linux passed
16372.4 1.24.2 TEST="bash ./scripts/travis_pyhmy_checker.sh" Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Jammy)
Go Version 1.24.2
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "go": [
    "1.24.2"
  ],
  "go_import_path": "github.com/harmony-one/harmony",
  "cache": {
    "directories": [
      "docker_images",
      "$HOME/.cache/go-build",
      "$GOPATH/pkg/mod"
    ]
  },
  "env": [
    "jobs={:TEST=>\"\\\"make\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_go_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_rpc_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_pyhmy_checker.sh\\\"\"}"
  ],
  "if": "type = pull_request OR (repo = harmony-one/harmony AND (branch = main OR branch = dev))\n",
  "before_install": [
    "echo \"deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null",
    "sudo apt-get update",
    "sudo apt-get -y -o Dpkg::Options::=\"--force-confnew\" install docker-ce"
  ],
  "install": [
    "git clone https://github.com/harmony-one/mcl.git $GOPATH/src/github.com/harmony-one/mcl",
    "git clone https://github.com/harmony-one/bls.git $GOPATH/src/github.com/harmony-one/bls",
    "git clone https://github.com/harmony-one/harmony-test.git $GOPATH/src/github.com/harmony-one/harmony-test",
    "(cd $GOPATH/src/github.com/harmony-one/mcl; make -j4)",
    "(cd $GOPATH/src/github.com/harmony-one/bls; make BLS_SWAP_G=1 -j4)",
    "make go-get",
    "go install golang.org/x/tools/cmd/goimports@v0.30.0",
    "go install github.com/fjl/gencodec@v0.1.1",
    "echo \"[WARN] - workaround for the GOPATH:\"",
    "rm $GOPATH/src/github.com/harmony-one/harmony || true;",
    "mv /home/travis/build/harmony-one/harmony $GOPATH/src/github.com/harmony-one/"
  ],
  "script": [
    "${TEST}"
  ],
  "after_success": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh success $WEBHOOK_URL"
  ],
  "after_failure": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh failure $WEBHOOK_URL"
  ]
}