Skip to content

Commit

Permalink
keep old errors and add new one at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter committed May 28, 2024
1 parent 6683a4d commit 82ecf65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion clients/tfchain-client-go/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ var tfgridModuleErrors = []string{
"InvalidInterfaceIP",
"InvalidZosVersion",
"FarmingPolicyExpired",
"InvalidStorageInput",
"InvalidHRUInput",
"InvalidSRUInput",
"InvalidCRUInput",
"InvalidMRUInput",
"LatitudeInputTooShort",
Expand Down Expand Up @@ -245,6 +246,7 @@ var tfgridModuleErrors = []string{
"NodeHasActiveContracts",
"InvalidRelayAddress",
"InvalidTimestampHint",
"InvalidStorageInput",
}

// https://github.com/threefoldtech/tfchain/blob/development/substrate-node/pallets/pallet-tft-bridge/src/lib.rs#L152
Expand Down
5 changes: 4 additions & 1 deletion substrate-node/pallets/pallet-tfgrid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ pub mod pallet {
InvalidZosVersion,
FarmingPolicyExpired,

InvalidStorageInput,
InvalidHRUInput,
InvalidSRUInput,
InvalidCRUInput,
InvalidMRUInput,

Expand Down Expand Up @@ -571,6 +572,8 @@ pub mod pallet {
NodeHasActiveContracts,
InvalidRelayAddress,
InvalidTimestampHint,

InvalidStorageInput,
}

#[pallet::genesis_config]
Expand Down

0 comments on commit 82ecf65

Please sign in to comment.