Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration/stylus/milestone_2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract T {

contract C {
bytes32 private constant REENTRANCY_GUARD_STORAGE =
0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;
0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;

function test()
public
Expand Down
7 changes: 4 additions & 3 deletions src/emit/stylus/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,9 +1035,10 @@ impl<'a> TargetRuntime<'a> for StylusTarget {

bin.builder.build_store(address_ptr, address).unwrap();

let ty = bin.context.custom_width_int_type(256);

let digest_ptr = bin.builder.build_alloca(ty, "digest").unwrap();
let digest_ptr = bin
.builder
.build_alloca(bin.value_type(), "digest")
.unwrap();

call!(
"account_codehash",
Expand Down