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
Open
Fixes of Sol and web3 Tests related to docker and hardhat and run script#95layla-lili wants to merge 1 commit into01-edu:masterfrom
layla-lili wants to merge 1 commit into01-edu:masterfrom
Conversation
layla-lili
commented
Dec 3, 2025
- Added --platform linux/amd64 to the docker build command in the else block (line where it says docker build . -t blockchain)
- The BaseOptions variable already has --platform linux/amd64 at the beginning, so all docker run commands will use it
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.