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
tstore/tload seem to be not found in the latest solc in macOs
Environment
Compiler version: 0.8.24
Target EVM version (as per compiler settings): Cancun
Framework/IDE: Foundry / Hardhat
Operating system: Mac OS
Steps to Reproduce
mkdir try-tstore && cd try-tstore
forge init
Open Counter.sol
function setNumber(uint256newNumber) public {
assembly {
tstore(0, newNumber)
}
}
forge build
results in
[⠊] Compiling...
[⠔] Compiling 24 files with 0.8.24
[⠒] Solc 0.8.24 finished in 393.75ms
Error:
Compiler run failed:
Error (4619): Function "tstore" not found.
--> src/Counter.sol:10:13:
|
10 | tstore(0, newNumber)
| ^^^^^^
tried to download solc from here and build using forge build --use bin/solc
Still doesn't work
Using Hardhat (on other contracts) results in
npx hardhat compile
Solidity 0.8.24 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.
Learn more at https://hardhat.org/hardhat-runner/docs/reference/solidity-support
DeclarationError: Function "tstore" not found.
--> contracts/smart-account/SmartAccount.sol:143:13:
|
143 | tstore(0, validationModule)
| ^^^^^^
Error HH600: Compilation failed
The text was updated successfully, but these errors were encountered:
Description
tstore
/tload
seem to be not found in the latestsolc
in macOsEnvironment
Steps to Reproduce
Open
Counter.sol
forge build
results in
tried to download solc from here and build using
forge build --use bin/solc
Still doesn't work
Using Hardhat (on other contracts) results in
The text was updated successfully, but these errors were encountered: