Skip to content

Commit

Permalink
TMP: add mainnet tx 'GqKtPzT4judzqSPxtLpzeoZpZcdULeW2rGtGLYADoqmj' to…
Browse files Browse the repository at this point in the history
… workaround handler.
  • Loading branch information
nickeskov committed Nov 28, 2024
1 parent 4f69368 commit 0f81bbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/state/script_caller.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ func workaroundHandler(scheme proto.Scheme, tx proto.Transaction) (workaroundRes
return workaroundResult{}, false, errors.Wrap(err, "failed to calculate tx ID in workaround handler")
}
switch txIDStr := base58.Encode(txID); txIDStr {
case "DGXQ69rv3PbwVa6TeT7AQy2pyhpeCawNwGdWcC3wdfVh":
case "DGXQ69rv3PbwVa6TeT7AQy2pyhpeCawNwGdWcC3wdfVh",
"GqKtPzT4judzqSPxtLpzeoZpZcdULeW2rGtGLYADoqmj":
const txSpentComplexity = 16154
rideErr := ride.EvaluationErrorSetComplexity( // set spent complexity
ride.RuntimeError.Errorf("workaround for tx %q", txIDStr), // in scala - failed tx, go - ok
Expand Down

0 comments on commit 0f81bbb

Please sign in to comment.