This repository was archived by the owner on Jun 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add IDA convert to lino Add convert LINO to IDA. * add grant free votes to lino validators * 1dunlock * fix
- Loading branch information
Showing
18 changed files
with
1,429 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 154 additions & 0 deletions
154
...r/golden/TestDeveloperManagerSuite/TestIDAConvertFromLino/Fail_App_doesnt_have_IDA.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
[ | ||
{ | ||
"prefix": "0", | ||
"key": "testapp", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-revoked-ida", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-revoked-ida", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-unauthed-bank", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-without-ida", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-without-ida", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": false, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp-revoked-ida", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp-revoked-ida", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": true, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp-unauthed-bank", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": false, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "2", | ||
"key": "testapp-unauthed-bank/testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/bank", | ||
"value": { | ||
"b": "10000", | ||
"unauthed": true | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "2", | ||
"key": "testapp/testapp", | ||
"val": { | ||
"type": "lino/bank", | ||
"value": { | ||
"b": "10000" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "3", | ||
"key": "", | ||
"val": { | ||
"type": "lino/reservepool", | ||
"value": { | ||
"total": { | ||
"amount": "0" | ||
}, | ||
"total_minidollar": "0" | ||
} | ||
} | ||
} | ||
] |
154 changes: 154 additions & 0 deletions
154
...r/golden/TestDeveloperManagerSuite/TestIDAConvertFromLino/Fail_App_has_revoked_IDA.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
[ | ||
{ | ||
"prefix": "0", | ||
"key": "testapp", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-revoked-ida", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-revoked-ida", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-unauthed-bank", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "0", | ||
"key": "testapp-without-ida", | ||
"val": { | ||
"type": "lino/developer", | ||
"value": { | ||
"username": "testapp-without-ida", | ||
"deposit": { | ||
"amount": "0" | ||
}, | ||
"app_consumption": "0", | ||
"web_site": "", | ||
"description": "", | ||
"app_meta_data": "", | ||
"is_deleted": false, | ||
"n_affiliated": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": false, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp-revoked-ida", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp-revoked-ida", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": true, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "1", | ||
"key": "testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/appida", | ||
"value": { | ||
"app": "testapp-unauthed-bank", | ||
"name": "test-lemon", | ||
"price": "10000", | ||
"is_revoked": false, | ||
"revoke_coin_price": "0" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "2", | ||
"key": "testapp-unauthed-bank/testapp-unauthed-bank", | ||
"val": { | ||
"type": "lino/bank", | ||
"value": { | ||
"b": "10000", | ||
"unauthed": true | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "2", | ||
"key": "testapp/testapp", | ||
"val": { | ||
"type": "lino/bank", | ||
"value": { | ||
"b": "10000" | ||
} | ||
} | ||
}, | ||
{ | ||
"prefix": "3", | ||
"key": "", | ||
"val": { | ||
"type": "lino/reservepool", | ||
"value": { | ||
"total": { | ||
"amount": "0" | ||
}, | ||
"total_minidollar": "0" | ||
} | ||
} | ||
} | ||
] |
Oops, something went wrong.