Skip to content

Commit f208a8c

Browse files
authored
Merge pull request #54 from ethereum-optimism/tip/pcw109550/riscv-contract-refactor
rvsol: RISCV.sol Compatibility with MIPS.sol
2 parents abdc8d1 + 574e99f commit f208a8c

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

rvgo/bindings/preimageoracle.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rvgo/bindings/preimageoracle_more.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rvgo/bindings/riscv.go

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rvgo/bindings/riscv_more.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rvsol/src/RISCV.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ pragma solidity ^0.8.13;
44
import { IPreimageOracle } from "@optimism/src/cannon/interfaces/IPreimageOracle.sol";
55

66
contract RISCV {
7-
IPreimageOracle public preimageOracle;
7+
IPreimageOracle public oracle;
88

9-
constructor(IPreimageOracle _preimageOracle) {
10-
preimageOracle = _preimageOracle;
9+
constructor(IPreimageOracle _oracle) {
10+
oracle = _oracle;
1111
}
1212

1313
// Executes a single RISC-V instruction, starting from

0 commit comments

Comments
 (0)