Merge pull request #4479 from harmony-one/dev

Release Candidate 2023.2.6 (dev -> main)
mergify/sophoah/config-update
Max 1 year ago committed by GitHub
commit 53c2e66ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .travis.yml
  2. 2
      core/state/state_object.go
  3. 2
      scripts/go_executable_build.sh

@ -12,6 +12,15 @@ env:
- TEST="bash ./scripts/travis_go_checker.sh"
- TEST="bash ./scripts/travis_rpc_checker.sh"
- TEST="bash ./scripts/travis_rosetta_checker.sh"
# upgrade docker to latest stable version
addons:
apt:
sources:
- sourceline: deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
packages:
- docker.io
install:
# default working directory with source code is automatically set to
# /home/travis/gopath/src/github.com/harmony-one/harmony

@ -561,7 +561,7 @@ func (s *Object) CodeSize(db Database) int {
if s.validatorWrapper || err != nil {
vcSize, errVCSize := db.ValidatorCodeSize(s.addrHash, common.BytesToHash(s.CodeHash()))
if errVCSize == nil && vcSize > 0 {
return size
return vcSize
}
if s.validatorWrapper {
s.setError(fmt.Errorf("can't load validator code size %x for account address hash %x : %v", s.CodeHash(), s.addrHash, err))

@ -26,6 +26,8 @@ fi
DEBUG=false
STATIC=true
rm -rf .dht-127.0.0.1*
unset -v progdir
case "${0}" in
*/*) progdir="${0%/*}";;

Loading…
Cancel
Save