Skip to content

[DRAFT] Staking v2#4989

Draft
GheisMohammadi wants to merge 5 commits into
devfrom
staking/v2
Draft

[DRAFT] Staking v2#4989
GheisMohammadi wants to merge 5 commits into
devfrom
staking/v2

Fix UndelegateAll to include delegations created in same block

66306cd
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Dec 31, 2025 in 31m 50s

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 #4989 [DRAFT] Staking v2.
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
16352.1 1.24.2 TEST="make" Linux passed
16352.2 1.24.2 TEST="bash ./scripts/travis_go_checker.sh" Linux passed
16352.3 1.24.2 TEST="bash ./scripts/travis_rpc_checker.sh" Linux passed
16352.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"
  ]
}