Skip to content

Commit 82ecf65

Browse files
committed
keep old errors and add new one at the end
1 parent 6683a4d commit 82ecf65

File tree

2 files changed

+7
-2
lines changed
  • clients/tfchain-client-go
  • substrate-node/pallets/pallet-tfgrid/src

2 files changed

+7
-2
lines changed

clients/tfchain-client-go/utils.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ var tfgridModuleErrors = []string{
215215
"InvalidInterfaceIP",
216216
"InvalidZosVersion",
217217
"FarmingPolicyExpired",
218-
"InvalidStorageInput",
218+
"InvalidHRUInput",
219+
"InvalidSRUInput",
219220
"InvalidCRUInput",
220221
"InvalidMRUInput",
221222
"LatitudeInputTooShort",
@@ -245,6 +246,7 @@ var tfgridModuleErrors = []string{
245246
"NodeHasActiveContracts",
246247
"InvalidRelayAddress",
247248
"InvalidTimestampHint",
249+
"InvalidStorageInput",
248250
}
249251

250252
// https://github.com/threefoldtech/tfchain/blob/development/substrate-node/pallets/pallet-tft-bridge/src/lib.rs#L152

substrate-node/pallets/pallet-tfgrid/src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ pub mod pallet {
537537
InvalidZosVersion,
538538
FarmingPolicyExpired,
539539

540-
InvalidStorageInput,
540+
InvalidHRUInput,
541+
InvalidSRUInput,
541542
InvalidCRUInput,
542543
InvalidMRUInput,
543544

@@ -571,6 +572,8 @@ pub mod pallet {
571572
NodeHasActiveContracts,
572573
InvalidRelayAddress,
573574
InvalidTimestampHint,
575+
576+
InvalidStorageInput,
574577
}
575578

576579
#[pallet::genesis_config]

0 commit comments

Comments
 (0)