Commit b0bd3025 authored by Hero Bird's avatar Hero Bird

[pdsl_model] Fix some minor path problems in state! and messages!

parent 9ce3d578
......@@ -29,7 +29,7 @@ macro_rules! messages {
#[derive(Copy, Clone)]
struct $msg_name;
impl crate::msg::Message for $msg_name {
impl pdsl_model::Message for $msg_name {
type Input = ($($param_ty),*);
type Output = $ret_ty;
......
......@@ -45,8 +45,8 @@ macro_rules! state {
impl pdsl_core::storage::Flush for $state_name {
fn flush(&mut self) {
$(
self.$field_name.flush();
),*
self.$field_name.flush()
);*
}
}
......@@ -64,7 +64,7 @@ macro_rules! state {
}
}
impl pdsl_model::state::ContractState for $state_name {
impl pdsl_model::ContractState for $state_name {
const NAME: &'static [u8] = stringify!($state_name).as_bytes();
}
};
......
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