-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [frozen config] Add compiled v12 binary files * [frozen config] Add stdlib building script for building new stdlib binary files * [force-upgrade] commit fixed codes * [force-upgrade] Add stdlib building script for building new stdlib binary files * [force-upgrade] Fix error code of framework * [force-upgrade] commit binary files * [force-upgrade] fixed by the merged starcoin-move branch starcoin-main-v6 * [force-upgrade] fixed by the merged starcoin-framework branch 'v11_branch'
- Loading branch information
Showing
12 changed files
with
112 additions
and
67 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
SOURCE_VERSION=$1 | ||
TARGET_VERSION=$2 | ||
|
||
if [ $# -lt 2 ]; then | ||
echo "Usage: $0 SOURCE_VERSION TARGET_VERSION [ARGS...]" | ||
exit 1 | ||
fi | ||
|
||
SOURCE_VERSION=$1 | ||
TARGET_VERSION=$2 | ||
|
||
# check SOURCE_VERSION and TARGET_VERSION has defined | ||
if [ -z "$SOURCE_VERSION" ] || [ -z "$TARGET_VERSION" ]; then | ||
echo "SOURCE_VERSION and TARGET_VERSION must be specified." | ||
exit 1 | ||
fi | ||
|
||
# Check SOURCE_VERSION and TARGET_VERSION is number | ||
if ! [[ "$SOURCE_VERSION" =~ ^[0-9]+$ ]] || ! [[ "$TARGET_VERSION" =~ ^[0-9]+$ ]]; then | ||
echo "SOURCE_VERSION and TARGET_VERSION must be integers." | ||
exit 1 | ||
fi | ||
|
||
cargo run --bin stdlib | ||
|
||
cmd="cargo run --bin stdlib -- -v ${TARGET_VERSION} -m StdlibUpgradeScripts -f upgrade_from_v${SOURCE_VERSION}_to_v${TARGET_VERSION}" | ||
|
||
args=("${@:3}") | ||
|
||
for arg in "${args[@]}"; do | ||
cmd+=" --arg ${arg}" | ||
done | ||
|
||
eval $cmd |
Binary file not shown.
Binary file modified
BIN
+185 Bytes
(110%)
vm/stdlib/compiled/12/11-12/stdlib/064_StdlibUpgradeScripts.mv
Binary file not shown.
Binary file modified
BIN
-20 Bytes
(99%)
vm/stdlib/compiled/12/11-12/stdlib/078_TransactionManager.mv
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+108 Bytes
(100%)
vm/stdlib/compiled/latest/error_descriptions/error_descriptions.errmap
Binary file not shown.
Binary file modified
BIN
+185 Bytes
(110%)
vm/stdlib/compiled/latest/stdlib/064_StdlibUpgradeScripts.mv
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters