update to marine, marine-test, bump versions

This commit is contained in:
boneyard93501
2021-06-13 15:46:35 -05:00
parent 3a6be62bde
commit 2d68a8eebd
16 changed files with 130 additions and 112 deletions

View File

@ -14,9 +14,9 @@
* limitations under the License.
*/
use fluence::{fce, CallParameters};
use::fluence;
use crate::get_connection;
use ::fluence;
use fluence::{marine, CallParameters};
pub fn is_owner() -> bool {
let meta = fluence::get_call_parameters();
@ -26,7 +26,7 @@ pub fn is_owner() -> bool {
caller == owner
}
#[fce]
#[marine]
pub fn am_i_owner() -> bool {
is_owner()
}
}