-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine the unconvitional code identified by code review in the procom…
…pile
- Loading branch information
1 parent
032c5eb
commit 03b5c9e
Showing
25 changed files
with
97 additions
and
103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package common | ||
|
||
const ( | ||
ErrContractInputParaOrType = "the contract input parameter type or value error,arg index:%d, type is:%s,value:%v" | ||
ErrContractCaller = "the caller doesn't have the permission to call this function" | ||
|
||
ErrInputClientChainAddrLength = "the length of input client chain addr doesn't match,input:%d,need:%d" | ||
|
||
ErrInputOperatorAddrLength = "mismatched length of the input operator address,actual is:%d,expect:%v" | ||
) |
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
package delegation | ||
|
||
const ( | ||
ErrContractInputParaOrType = "the contract input parameter type or value error,arg index:%d, type is:%s,value:%v" | ||
ErrContractCaller = "the caller doesn't have the permission to call this function" | ||
ErrCtxTxHash = "ctx TxHash type error or is nil,type is:%v,value:%v" | ||
|
||
ErrInputOperatorAddrLength = "mismatched length of the input operator address,actual is:%d,expect:%v" | ||
ErrCtxTxHash = "ctx TxHash type error or is nil,type is:%v,value:%v" | ||
) |
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 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
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 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
Oops, something went wrong.