Skip to content

Commit

Permalink
Merge pull request #4479 from harmony-one/dev
Browse files Browse the repository at this point in the history
Release Candidate 2023.2.6 (dev -> main)
  • Loading branch information
MaxMustermann2 authored Aug 3, 2023
2 parents 65e5cc2 + 944b8c7 commit 53c2e66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/state/state_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions scripts/go_executable_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ fi
DEBUG=false
STATIC=true

rm -rf .dht-127.0.0.1*

unset -v progdir
case "${0}" in
*/*) progdir="${0%/*}";;
Expand Down

0 comments on commit 53c2e66

Please sign in to comment.