Commit 38d5af99 authored by clabby's avatar clabby

Bindings + lint

parent c096f785
...@@ -32,7 +32,13 @@ interface IBigStepper { ...@@ -32,7 +32,13 @@ interface IBigStepper {
/// @param _localContext The local key context for the preimage oracle. Optional, can be set as a constant /// @param _localContext The local key context for the preimage oracle. Optional, can be set as a constant
/// if the caller only requires one set of local keys. /// if the caller only requires one set of local keys.
/// @return postState_ The poststate hash after the instruction step. /// @return postState_ The poststate hash after the instruction step.
function step(bytes calldata _stateData, bytes calldata _proof, uint256 _localContext) external returns (bytes32 postState_); function step(
bytes calldata _stateData,
bytes calldata _proof,
uint256 _localContext
)
external
returns (bytes32 postState_);
/// @notice Returns the preimage oracle used by the stepper. /// @notice Returns the preimage oracle used by the stepper.
function oracle() external view returns (IPreimageOracle oracle_); function oracle() external view returns (IPreimageOracle oracle_);
......
...@@ -55,10 +55,7 @@ contract PreimageOracle_Test is Test { ...@@ -55,10 +55,7 @@ contract PreimageOracle_Test is Test {
uint8 partOffset = 0; uint8 partOffset = 0;
// Form the words we'll be storing // Form the words we'll be storing
bytes32[2] memory words = [ bytes32[2] memory words = [bytes32(uint256(0xdeadbeef) << 224), bytes32(uint256(0xbeefbabe) << 224)];
bytes32(uint256(0xdeadbeef) << 224),
bytes32(uint256(0xbeefbabe) << 224)
];
for (uint256 i; i < words.length; i++) { for (uint256 i; i < words.length; i++) {
// Load the local data into the preimage oracle under the test contract's context // Load the local data into the preimage oracle under the test contract's context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment