-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add storage module * fix review tips * add approval and unique resource id * add signature check * fix go line * add basic test * fix ci * add sequence test * refactor the uint256 id * rename field name * Apply suggestions from code review Co-authored-by: Owen <[email protected]> * fix buf format and params * change sha 256 from crypto.Sha256 to sdk.keccak256 * format the code * format go import * fix review tips * refactor keeper * fix go lint * fix test * change Short for all command of cli * fix rebase and format code * change gnfd-cosmos-sdk version --------- Co-authored-by: fynn z <[email protected]> Co-authored-by: Owen <[email protected]>
- Loading branch information
1 parent
569f459
commit 7783af4
Showing
120 changed files
with
14,173 additions
and
1,685 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
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,27 @@ | ||
{ | ||
"messages":[ | ||
{ | ||
"@type":"/bnbchain.greenfield.sp.MsgCreateStorageProvider", | ||
"description":{ | ||
"moniker": "sp0", | ||
"identity":"", | ||
"website":"", | ||
"security_contact":"", | ||
"details":"" | ||
}, | ||
"sp_address":"0x78FeF615b06251ecfA9Ba01B7DB2BFA892722dDC", | ||
"funding_address":"0x1d05CCD43A6c27fBCdfE6Ac727B0e9B889AAbC3B", | ||
"seal_address": "0x2163A7A41a71ea4A831E4F5Af7f90dd32E440592", | ||
"approval_address": "0x78FeF615b06251ecfA9Ba01B7DB2BFA892722dDC", | ||
"endpoint": "sp0.greenfield.io", | ||
"deposit":{ | ||
"denom":"bnb", | ||
"amount":"10000" | ||
}, | ||
"creator":"0x7b5Fe22B5446f7C62Ea27B8BD71CeF94e03f3dF2" | ||
} | ||
], | ||
"metadata": "4pIMOgIGx1vZGU=", | ||
"deposit": "1bnb" | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package docs | ||
|
||
import "embed" | ||
import ( | ||
"embed" | ||
) | ||
|
||
//go:embed static | ||
var Docs embed.FS |
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,10 @@ | ||
#!/bin/bash | ||
|
||
go install github.com/AanZee/goimportssort | ||
|
||
for entry in `find . -name "*.go"`; do | ||
if grep -q "DO NOT EDIT" "$entry"; then | ||
continue | ||
fi | ||
goimportssort -w -local github.com/bnb-chain/ $entry | ||
done |
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
Oops, something went wrong.