Skip to content

Commit 1469060

Browse files
committed
fix: set pending client release in upgrade script
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
1 parent 2c8d532 commit 1469060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/runtime-upgrade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function setAllClientReleases(api: ApiPromise, baseUrl: String, runtimeNam
9090
}
9191

9292
return matches.map(([checksum, fullFileName, clientName]) => {
93-
return api.tx.clientsInfo.setCurrentClientRelease(
93+
return api.tx.clientsInfo.setPendingClientRelease(
9494
clientName,
9595
{
9696
uri: baseUrl + fullFileName,

0 commit comments

Comments
 (0)