Skip to content

Commit

Permalink
fix ci again
Browse files Browse the repository at this point in the history
  • Loading branch information
eyusufatik committed Aug 29, 2024
1 parent 5382648 commit ae60f60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use jsonrpsee::core::RpcResult;
use sov_modules_api::default_context::ZkDefaultContext;
use sov_modules_api::macros::{expose_rpc, rpc_gen, DefaultRuntime};
use sov_modules_api::prelude::*;
use sov_modules_api::{
prelude::*, Address, CallResponse, Context, DispatchCall, EncodeCall, Error, Genesis,
MessageCodec, Module, ModuleInfo, StateValue, WorkingSet,
Address, CallResponse, Context, DispatchCall, EncodeCall, Error, Genesis, MessageCodec, Module,
ModuleInfo, SpecId, StateValue, WorkingSet,
};
use sov_state::ZkStorage;

Expand Down Expand Up @@ -124,7 +125,7 @@ fn main() {
let module = RT::decode_call(&serialized_message).unwrap();
let sender = Address::try_from([11; 32].as_ref()).unwrap();
let sequencer = Address::try_from([11; 32].as_ref()).unwrap();
let context = C::new(sender, sequencer, 1);
let context = C::new(sender, sequencer, 1, SpecId::Genesis, 0);

let _ = runtime
.dispatch_call(module, working_set, SpecId::Genesis, &context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ use borsh::{BorshDeserialize, BorshSerialize};
use jsonrpsee::core::RpcResult;
use sov_modules_api::default_context::ZkDefaultContext;
use sov_modules_api::macros::{expose_rpc, rpc_gen, DefaultRuntime};
use sov_modules_api::prelude::*;
use sov_modules_api::{
prelude::*, Address, CallResponse, Context, DispatchCall, EncodeCall, Error, Genesis,
MessageCodec, Module, ModuleInfo, StateValue, WorkingSet,
Address, CallResponse, Context, DispatchCall, EncodeCall, Error, Genesis, MessageCodec, Module,
ModuleInfo, SpecId, StateValue, WorkingSet,
};
use sov_state::ZkStorage;

Expand Down Expand Up @@ -137,7 +138,7 @@ fn main() {
let module = RT::decode_call(&serialized_message).unwrap();
let sender = Address::try_from([11; 32].as_ref()).unwrap();
let sequencer = Address::try_from([12; 32].as_ref()).unwrap();
let context = C::new(sender, sequencer, 1);
let context = C::new(sender, sequencer, 1, SpecId::Genesis, 0);

let _ = runtime
.dispatch_call(module, working_set, SpecId::Genesis, &context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use sov_modules_api::default_context::ZkDefaultContext;
use sov_modules_api::macros::{expose_rpc, rpc_gen, DefaultRuntime};
use sov_modules_api::{
Address, CallResponse, Context, DispatchCall, EncodeCall, Error, Genesis, MessageCodec, Module,
ModuleInfo, StateValue, WorkingSet,
ModuleInfo, SpecId, StateValue, WorkingSet,
};
use sov_state::ZkStorage;

Expand Down Expand Up @@ -122,7 +122,7 @@ fn main() {
let module = RT::decode_call(&serialized_message).unwrap();
let sender = Address::try_from([11; 32].as_ref()).unwrap();
let sequencer = Address::try_from([11; 32].as_ref()).unwrap();
let context = C::new(sender, sequencer, 1);
let context = C::new(sender, sequencer, 1, SpecId::Genesis, 0);

let _ = runtime
.dispatch_call(module, working_set, SpecId::Genesis, &context)
Expand Down

0 comments on commit ae60f60

Please sign in to comment.