Skip to content

Commit 9371062

Browse files
committed
Add goal switches to populate access list transactions.
This required changes to libgoal interfaces that we previously designed to take all the foreign arrays, ready for packing into the transaction. Now they receive a "RefBundle" of things the tx needs access to, so it should be possible to change that to use tx.Access. Still needs final e2e subs tests using goal.
1 parent 728815a commit 9371062

30 files changed

+907
-422
lines changed

cmd/goal/account.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -916,14 +916,14 @@ var changeOnlineCmd = &cobra.Command{
916916

917917
firstTxRound, lastTxRound, _, err := client.ComputeValidityRounds(firstValid, lastValid, numValidRounds)
918918
if err != nil {
919-
reportErrorf(err.Error())
919+
reportErrorln(err)
920920
}
921921
err = changeAccountOnlineStatus(
922922
accountAddress, online, statusChangeTxFile, walletName,
923923
firstTxRound, lastTxRound, transactionFee, scLeaseBytes(cmd), dataDir, client,
924924
)
925925
if err != nil {
926-
reportErrorf(err.Error())
926+
reportErrorln(err)
927927
}
928928
},
929929
}
@@ -1092,7 +1092,7 @@ var renewParticipationKeyCmd = &cobra.Command{
10921092

10931093
err = generateAndRegisterPartKey(accountAddress, currentRound, roundLastValid, txRoundLastValid, transactionFee, scLeaseBytes(cmd), keyDilution, walletName, dataDir, client)
10941094
if err != nil {
1095-
reportErrorf(err.Error())
1095+
reportErrorln(err)
10961096
}
10971097

10981098
version := config.GetCurrentVersion()

0 commit comments

Comments
 (0)