import { playgroundHelper } from "../helpers/helpers"; await playgroundHelper.account.callFunction({ contractId: playgroundHelper.vaultContractId, methodName: "propose_execution", args: { policy_id: "upsert_policy", function_args: { target_policy_id: "guestbook_testnet_near_native_add_msg", policy: { id: "guestbook_testnet_near_native_add_msg", description: "Policy for adding message to guestbook testnet near chainsig", required_role: "owner", required_vote_count: 1, policy_status: "Active", policy_type: "NearNativeTransaction", activation_time: "0", policy_details: { NearNativeTransaction: { chain_environment: "NearWasm", restrictions: [ { method: "addMessage", contract_id: "guest-book.testnet", schema: [ { path: "$.text", type: "String", eq: "coming from chain sig" }, ], interface: "", }, ], }, }, }, }, deadline_hours: 1, }, });