Skip to content

Commit 0e14740

Browse files
committed
Add note to milestone_2.sol
1 parent 99a82ea commit 0e14740

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

integration/stylus/milestone_2.sol

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
// SPDX-License-Identifier: UNLICENSED
22
pragma solidity >=0.8.0;
33

4+
// This contract tests the Stylus imports required for the Solang grant's second milestone.
5+
//
6+
// The following are contract's functions and the imports they test:
7+
// - test_block: evm_gas_left, block_basefee, block_coinbase, block_gas_limit,
8+
// block_number, block_timestamp, chainid
9+
// - test_tstore: transient_load_bytes32, transient_store_bytes32
10+
// - test_create1: create1
11+
// - test_create2: create2, contract_address
12+
// - test_value_sender: msg_value
13+
// - test_value_receiver: emit_log
14+
//
15+
// This contract is deployed and called by `tests/stylus_tests/milestone_2.rs`.
16+
417
interface ArbWasm {
518
/// @notice Activate a wasm program
619
/// @param program the program to activate

0 commit comments

Comments
 (0)