Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: matter-labs/era-compiler-tests
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9c80958998132ae8f1a6df1ba9f9db4f6c66c48f
Choose a base ref
...
head repository: matter-labs/era-compiler-tests
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a448e6a87db738901ef62508cf8a503d016700ec
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 6, 2024

  1. Copy the full SHA
    a448e6a View commit details
Showing with 14 additions and 0 deletions.
  1. +14 −0 solidity/simple/system/identity.sol
14 changes: 14 additions & 0 deletions solidity/simple/system/identity.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//! { "cases": [] }

// SPDX-License-Identifier: MIT OR Apache-2.0

pragma solidity >=0.8.0;

contract Identity {
fallback() external {
assembly {
calldatacopy(0, 0, calldatasize())
return(0, calldatasize())
}
}
}