Skip to content

Testing rebase#1840

Closed
smoelius wants to merge 65 commits intohyperledger-solang:mainfrom
trail-of-forks:testing-rebase
Closed

Testing rebase#1840
smoelius wants to merge 65 commits intohyperledger-solang:mainfrom
trail-of-forks:testing-rebase

Conversation

@smoelius
Copy link
Contributor

@smoelius smoelius commented Oct 6, 2025

No description provided.

smoelius and others added 30 commits October 6, 2025 07:19
The current changes allow me to compile the Solidity program below, and
the resulting wasm file passes `cargo stylus --check`.

```sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

contract Counter {
    uint256 public number;

    function setNumber(uint256 newNumber) public {
        number = newNumber;
    }

    function increment() public {
        number++;
    }
}
```
The `increment` part currently does not work.
It does not currently pass.
To prevent public functions from being inlined into the dispatch
function.
- call_contract
- delegate_call_contract
- read_return_data
- return_data_size
- static_call_contract

The `abi` test now passes.
Currently, the `api` test does not pass.
smoelius and others added 26 commits October 6, 2025 07:22
I'm not sure if this change is needed.
And have `here!` use them.
And add call to `storage_flush_cache`
- block_basefee
- block_coinbase
- block_gas_limit
- block_number
- block_timestamp
- chainid
- evm_gas_left
Signed-off-by: Samuel Moelius <samuel.moelius@trailofbits.com>
@smoelius
Copy link
Contributor Author

smoelius commented Oct 6, 2025

Sorry, I opened the PR against the wrong repo. Sorry to make this mistake again.

@smoelius smoelius closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants