Skip to content

Commit

Permalink
formatted new rego tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptroger committed Sep 6, 2024
1 parent 2aec6e9 commit 247d7a0
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,26 @@ test_checkIntentAmount2 {
"action": "signTransaction",
"principal": {
"userId": "test-bob-user-uid",
"id": "0x7e431d5b570ba38e2e036387a596219ae9076e8a488a6149b491892b03582166"
"id": "0x7e431d5b570ba38e2e036387a596219ae9076e8a488a6149b491892b03582166",
},
"approvals": [
{
"userId": "test-bob-user-uid",
"id": "0x7e431d5b570ba38e2e036387a596219ae9076e8a488a6149b491892b03582166"
}
],
"approvals": [{
"userId": "test-bob-user-uid",
"id": "0x7e431d5b570ba38e2e036387a596219ae9076e8a488a6149b491892b03582166",
}],
"intent": {
"to": "eip155:1:0x76d1b7f9b3f69c435eef76a98a415332084a856f",
"from": "eip155:1:0x0301e2724a40e934cce3345928b88956901aa127",
"type": "transferNative",
"amount": "9223372036854776000",
"token": "eip155:1/slip44:60"
"token": "eip155:1/slip44:60",
},
"transactionRequest": {
"chainId": 1,
"from": "0x0301e2724a40e934cce3345928b88956901aa127",
"to": "0x76d1b7f9b3f69c435eef76a98a415332084a856f",
"value": "0x80000000000000c0"
"value": "0x80000000000000c0",
},
"resource": { "uid": "eip155:eoa:0x0301e2724a40e934cce3345928b88956901aa127" }
"resource": {"uid": "eip155:eoa:0x0301e2724a40e934cce3345928b88956901aa127"},
}

checkIntentAmount({"operator": operators.greaterThanOrEqual, "value": "1"}) with input as requ
Expand Down

0 comments on commit 247d7a0

Please sign in to comment.