argotorg / argotorg/fe

The default return value of u256 is inconsistent with Solidity

Open
#1,130 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.