Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API error messages. #1267

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion itests/testdata/issue_smart_asset_tx_testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func GetNegativeAssetScriptData(suite *f.BaseSuite) map[string]IssueTestData[Exp
ErrGoMsg: errMsg,
ErrScalaMsg: errMsg,
ErrBrdCstGoMsg: errBrdCstMsg,
ErrBrdCstScalaMsg: "Invalid version of script",
ErrBrdCstScalaMsg: "ScriptParseError(Invalid checksum)",
WavesDiffBalance: 0,
AssetBalance: 0,
}),
Expand Down
2 changes: 1 addition & 1 deletion itests/testdata/set_asset_script_tx_testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func GetSetAssetScriptNegativeData(suite *f.BaseSuite, assetID crypto.Digest) ma
ErrGoMsg: errMsg,
ErrScalaMsg: errMsg,
ErrBrdCstGoMsg: errBrdCstMsg,
ErrBrdCstScalaMsg: "Invalid version of script",
ErrBrdCstScalaMsg: "ScriptParseError(Invalid checksum)",
}),
"Asset was issued by other Account": NewSetAssetScriptTestData(
utl.GetAccount(suite, utl.DefaultRecipientNotMiner),
Expand Down
2 changes: 1 addition & 1 deletion itests/testdata/transfer_with_sponsorship_testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func GetTransferWithSponsorshipMaxValuesDataNegative(suite *f.BaseSuite, sponsor
ErrGoMsg: errMsg,
ErrScalaMsg: errMsg,
ErrBrdCstGoMsg: errBrdCstMsg,
ErrBrdCstScalaMsg: fmt.Sprintf("asset %s overflow", sponsoredAssetId),
ErrBrdCstScalaMsg: fmt.Sprintf("asset %s sum overflow", sponsoredAssetId),
}),
}
}
Expand Down
Loading