You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to build this on s390x platform which is a big endian architecture.
I installed yarn and node.js and was able to execute these commands successfully. yarn install yarn build
However, yarn test is giving the error saying it expected little endian system.
hardhat:core:compilation-job File '/data/vishwa/seaport/contracts/conduit/lib/ConduitConstants.sol' will be compiled with version '0.8.14' +1ms
hardhat:core:hre Running task compile:solidity:handle-compilation-jobs-failures +2ms
hardhat:core:hre Running task compile:solidity:filter-compilation-jobs +0ms
hardhat:core:tasks:compile '12' jobs were filtered out +35ms
hardhat:core:hre Running task compile:solidity:merge-compilation-jobs +5ms
hardhat:core:hre Running task compile:solidity:compile-jobs +0ms
hardhat:core:hre Running compile:solidity:compile-jobs's super +0ms
hardhat:core:tasks:compile No compilation jobs to compile +1ms
hardhat:core:hre Running task compile:solidity:log:nothing-to-compile +1ms
hardhat:core:hre Running task typechain:generate-types +0ms
No need to generate any newer typings.
hardhat:core:hre Running task compile:solidity:log:compilation-result +2ms
hardhat:core:hre Running task compile:remove-obsolete-artifacts +0ms
hardhat:core:hre Running task test:get-test-files +80ms
hardhat:core:hre Running task test:setup-test-environment +8ms
hardhat:core:hre Running task test:show-fork-recommendations +1ms
hardhat:core:hre Running task test:run-mocha-tests +0ms
hardhat:core:hre Running test:run-mocha-tests's super +0ms
hardhat:core:hre Creating provider for network hardhat +1s
An unexpected error occurred.
Runtime error: expected the system to be little-endian!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I searched through this entire repo, but did not see any mention of this error message.
Also, I did strace yarn test hoping it would give some hints, but then again no luck.
Would you please help point me to where in the code this error is generated from ?. Also, would you be interested to add support for big endian architecture ?
This discussion was converted from issue #519 on June 28, 2022 17:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
We are trying to build this on s390x platform which is a big endian architecture.
I installed
yarn
andnode.js
and was able to execute these commands successfully.yarn install
yarn build
However,
yarn test
is giving the error saying it expectedlittle endian system
.I searched through this entire repo, but did not see any mention of this error message.
Also, I did
strace yarn test
hoping it would give some hints, but then again no luck.Would you please help point me to where in the code this error is generated from ?. Also, would you be interested to add support for big endian architecture ?
Also, how do we debug any failures ?
Thank you very much,
Beta Was this translation helpful? Give feedback.
All reactions