Skip to content

Commit dd131ad

Browse files
committed
Advance RGB contract import overlay
1 parent ed494da commit dd131ad

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎Cargo.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"ref": "v0.10.0-beta.3",
4949
"commit": "0bfa66fa256a6c36f3737d5b6402eacea40c68fc",
5050
"patch": "patches/c-ffi-utexo-patches-v0.10.0-beta.3.patch",
51-
"patchSha256": "9d8a3e76a099422106e679cb704b0b76cf9758cc79c0948da997d1620eef985f",
51+
"patchSha256": "3b6bcbf9a8f966def4a7ce43e9543e248c0b5dc4942156624e6015d7b98c3221",
5252
"rustToolchain": "1.88.0"
5353
}
5454
}

‎patches/c-ffi-utexo-patches-v0.10.0-beta.3.patch‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ index 8a7a1cf..ebd1aae 100644
77
name = "rgb-lib"
88
version = "0.3.0-beta.6"
99
-source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?tag=v0.3.0-beta.27#d8dba807d5028635143ffc8098e1b59086b646a0"
10-
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=b33aac2188c386a2addc8feb1a99663033c32c07#b33aac2188c386a2addc8feb1a99663033c32c07"
10+
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=95332c41fd715939ac6e078ad859d474b1f6fa9b#95332c41fd715939ac6e078ad859d474b1f6fa9b"
1111
dependencies = [
1212
"amplify",
1313
"base64 0.22.1",
@@ -16,7 +16,7 @@ index 8a7a1cf..ebd1aae 100644
1616
name = "rgb-lib-migration"
1717
version = "0.3.0-beta.4"
1818
-source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?tag=v0.3.0-beta.27#d8dba807d5028635143ffc8098e1b59086b646a0"
19-
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=b33aac2188c386a2addc8feb1a99663033c32c07#b33aac2188c386a2addc8feb1a99663033c32c07"
19+
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=95332c41fd715939ac6e078ad859d474b1f6fa9b#95332c41fd715939ac6e078ad859d474b1f6fa9b"
2020
dependencies = [
2121
"sea-orm-migration",
2222
"tokio",
@@ -29,7 +29,7 @@ index eaf0f44..3b03c4a 100644
2929
regex = { version = "1.11", default-features = false }
3030
reqwest = { version = "0.12", default-features = false, features = ["json", "native-tls"] }
3131
-rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", tag = "v0.3.0-beta.27", features = [
32-
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "b33aac2188c386a2addc8feb1a99663033c32c07", features = [
32+
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "95332c41fd715939ac6e078ad859d474b1f6fa9b", features = [
3333
"electrum",
3434
"esplora",
3535
] }
@@ -112,7 +112,7 @@ index 5886c2d..745468a 100644
112112
name = "rgb-lib"
113113
version = "0.3.0-beta.6"
114114
-source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?tag=v0.3.0-beta.27#d8dba807d5028635143ffc8098e1b59086b646a0"
115-
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=b33aac2188c386a2addc8feb1a99663033c32c07#b33aac2188c386a2addc8feb1a99663033c32c07"
115+
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=95332c41fd715939ac6e078ad859d474b1f6fa9b#95332c41fd715939ac6e078ad859d474b1f6fa9b"
116116
dependencies = [
117117
"amplify",
118118
"base64 0.22.1",
@@ -121,7 +121,7 @@ index 5886c2d..745468a 100644
121121
name = "rgb-lib-migration"
122122
version = "0.3.0-beta.4"
123123
-source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?tag=v0.3.0-beta.27#d8dba807d5028635143ffc8098e1b59086b646a0"
124-
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=b33aac2188c386a2addc8feb1a99663033c32c07#b33aac2188c386a2addc8feb1a99663033c32c07"
124+
+source = "git+https://github.com/UTEXO-Protocol/rgb-lib.git?rev=95332c41fd715939ac6e078ad859d474b1f6fa9b#95332c41fd715939ac6e078ad859d474b1f6fa9b"
125125
dependencies = [
126126
"sea-orm-migration",
127127
"tokio",
@@ -4079,7 +4079,7 @@ index 3b4d5fe27..c1d834acf 100644
40794079

40804080
# RGB and related
40814081
-rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", tag = "v0.3.0-beta.27", features = [
4082-
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "b33aac2188c386a2addc8feb1a99663033c32c07", features = [
4082+
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "95332c41fd715939ac6e078ad859d474b1f6fa9b", features = [
40834083
"electrum",
40844084
"esplora",
40854085
] }
@@ -4092,7 +4092,7 @@ index 8cc1a7f3e..30a97d9a0 100644
40924092
bincode = "1.3"
40934093
futures = "0.3"
40944094
-rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", tag = "v0.3.0-beta.27", features = [
4095-
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "b33aac2188c386a2addc8feb1a99663033c32c07", features = [
4095+
+rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", rev = "95332c41fd715939ac6e078ad859d474b1f6fa9b", features = [
40964096
"electrum",
40974097
"esplora",
40984098
] }

‎scripts/install-overlay-addon.test.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test('package overlay metadata is exact and checksum-pinned', () => {
1717
assert.equal(config.commit, '0bfa66fa256a6c36f3737d5b6402eacea40c68fc')
1818
assert.equal(
1919
config.patchSha256,
20-
'9d8a3e76a099422106e679cb704b0b76cf9758cc79c0948da997d1620eef985f'
20+
'3b6bcbf9a8f966def4a7ce43e9543e248c0b5dc4942156624e6015d7b98c3221'
2121
)
2222
assert.equal(config.rustToolchain, '1.88.0')
2323
})
@@ -55,15 +55,15 @@ test('overlay contains the hardened shared RGB import implementation', () => {
5555
assert.match(patch, /RgbTxid::from_str/)
5656
assert.match(patch, /let task = tokio::spawn/)
5757
assert.match(patch, /save_new_asset\(consignment, offchain_txid\)\?;/)
58-
assert.match(patch, /b33aac2188c386a2addc8feb1a99663033c32c07/)
58+
assert.match(patch, /95332c41fd715939ac6e078ad859d474b1f6fa9b/)
5959
})
6060

6161
test('wrapper lockfile resolves the same hardened rgb-lib revision as the overlay', () => {
6262
const lockfile = fs.readFileSync(path.join(__dirname, '..', 'Cargo.lock'), 'utf8')
6363

6464
assert.match(
6565
lockfile,
66-
/git\+https:\/\/github\.com\/UTEXO-Protocol\/rgb-lib\.git\?rev=b33aac2188c386a2addc8feb1a99663033c32c07#b33aac2188c386a2addc8feb1a99663033c32c07/
66+
/git\+https:\/\/github\.com\/UTEXO-Protocol\/rgb-lib\.git\?rev=95332c41fd715939ac6e078ad859d474b1f6fa9b#95332c41fd715939ac6e078ad859d474b1f6fa9b/
6767
)
6868
assert.doesNotMatch(
6969
lockfile,

0 commit comments

Comments
 (0)