Skip to content

Commit

Permalink
Merge branch 'feat/json-grants' of github.com:burnt-labs/xion into fe…
Browse files Browse the repository at this point in the history
…at/json-grants
  • Loading branch information
Peartes committed Jan 8, 2025
2 parents 863f92a + 246627c commit c585bed
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions integration_tests/testdata/unsigned_msgs/fee_configs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"description": "Fee allowance for user1",
"allowance": {
"type_url": "/cosmos.feegrant.v1.BasicAllowance",
"value": "CgQICAI="
},
"expiration": 1715151235
}
24 changes: 24 additions & 0 deletions integration_tests/testdata/unsigned_msgs/grants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"msg_type_url": "/cosmos.bank.v1.MsgSend",
"grant_config": {
"description": "Bank grant",
"authorization": {
"type_url": "/cosmos.authz.v1.GenericAuthorization",
"value": "CgRQYXk="
},
"optional": true
}
},
{
"msg_type_url": "/cosmos.staking.v1.MsgDelegate",
"grant_config": {
"description": "Staking grant",
"authorization": {
"type_url": "/cosmos.authz.v1.GenericAuthorization",
"value": "CgREZWxlZ2F0ZQ=="
},
"optional": false
}
}
]

0 comments on commit c585bed

Please sign in to comment.