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
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Platform
Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
Description
I included ethers-core 2.0.7 in my build and got the following error when compiling:
error[E0015]: cannot call non-const fn ethabi::ethereum_types::U256::one in constant functions
--> /Users/chloenguyen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-core-2.0.7/src/types/i256.rs:128:14
|
128 | Self(U256::one())
| ^^^^^^^^^^^
|
= note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
The text was updated successfully, but these errors were encountered:
Version
│ ├── ethers v2.0.7
│ │ ├── ethers-addressbook v2.0.7
│ │ │ ├── ethers-core v2.0.7
│ │ ├── ethers-contract v2.0.7
│ │ │ ├── ethers-contract-abigen v2.0.7
│ │ │ │ ├── ethers-core v2.0.7 ()
│ │ │ ├── ethers-contract-derive v2.0.7 (proc-macro)
│ │ │ │ ├── ethers-contract-abigen v2.0.7 ()
│ │ │ │ ├── ethers-core v2.0.7 ()
│ │ │ ├── ethers-core v2.0.7 ()
│ │ │ ├── ethers-providers v2.0.7
│ │ │ │ ├── ethers-core v2.0.7 ()
│ │ ├── ethers-core v2.0.7 ()
│ │ ├── ethers-etherscan v2.0.7
│ │ │ ├── ethers-core v2.0.7 ()
│ │ ├── ethers-middleware v2.0.7
│ │ │ ├── ethers-contract v2.0.7 ()
│ │ │ ├── ethers-core v2.0.7 ()
│ │ │ ├── ethers-etherscan v2.0.7 ()
│ │ │ ├── ethers-providers v2.0.7 ()
│ │ │ ├── ethers-signers v2.0.7
│ │ │ │ ├── ethers-core v2.0.7 ()
│ │ ├── ethers-providers v2.0.7 ()
│ │ └── ethers-signers v2.0.7 ()
│ ├── ethers-core v2.0.7 ()
│ ├── ethers-providers v2.0.7 ()
│ ├── ethers-signers v2.0.7 ()
├── ethers-signers v2.0.7 ()
├── ethers-signers v2.0.7 ()
├── ethers v2.0.7 ()
├── ethers-core v2.0.7 ()
├── ethers-providers v2.0.7 ()
├── ethers-signers v2.0.7 (*)
Platform
Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
Description
I included ethers-core 2.0.7 in my build and got the following error when compiling:
error[E0015]: cannot call non-const fn
ethabi::ethereum_types::U256::one
in constant functions--> /Users/chloenguyen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-core-2.0.7/src/types/i256.rs:128:14
|
128 | Self(U256::one())
| ^^^^^^^^^^^
|
= note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
The text was updated successfully, but these errors were encountered: