Skip to content

Comments

Fixes of Sol and web3 Tests related to docker and hardhat and run script#95

Open
layla-lili wants to merge 1 commit into01-edu:masterfrom
layla-lili:my-fix-branch
Open

Fixes of Sol and web3 Tests related to docker and hardhat and run script#95
layla-lili wants to merge 1 commit into01-edu:masterfrom
layla-lili:my-fix-branch

Conversation

@layla-lili
Copy link

  1. Added --platform linux/amd64 to the docker build command in the else block (line where it says docker build . -t blockchain)
  2. The BaseOptions variable already has --platform linux/amd64 at the beginning, so all docker run commands will use it
  3. Fix The issue is with the date calculation in your script. On macOS, date +%s%N doesn't work the same way as on Linux - the %N (nanoseconds) is not supported and gets printed literally as N.

1. Added --platform linux/amd64 to the docker build command in the else block (line where it says docker build . -t blockchain)
2. The BaseOptions variable already has --platform linux/amd64 at the beginning, so all docker run commands will use it
3. Fix The issue is with the date calculation in your script. On macOS, date +%s%N doesn't work the same way as on Linux - the %N (nanoseconds) is not supported and gets printed literally as N.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant