The default return value of u256 is inconsistent with Solidity
Open
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 218
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 8
Description
```fe
contract C {
state: u256
}
```
the return value of state is ""
```solidity
contract C {
uint public state;
}
```
the return value of state is "0000000000000000000000000000000000000000000000000000000000000000"
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the Fe contract snippet and compare its u256 state return value with the Solidity uint example. The work is done when the Fe result matches the expected 64-character zero value for the default state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100