Skip to content

Commit

Permalink
Update deps && Replace OP_NOP2 with OP_CHECKLOCKTIMEVERIFY (#524)
Browse files Browse the repository at this point in the history
* fix opcode name returned from toASM

* bump ionio

* reverse ionio bump

* update yarn.lock

* reverse yarn.lock

* bump ionio to 0.5.3
  • Loading branch information
bordalix authored Feb 2, 2024
1 parent aba89e6 commit e292f9e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"web-ext:lint": "web-ext lint --source-dir dist"
},
"dependencies": {
"@ionio-lang/ionio": "^0.5.2",
"@ionio-lang/ionio": "^0.5.3",
"@metamask/safe-event-emitter": "^2.0.0",
"@sentry/browser": "^7.13.0",
"@tailwindcss/postcss7-compat": "^2.1.2",
Expand All @@ -38,7 +38,7 @@
"formik": "^2.2.9",
"google-protobuf": "^3.15.8",
"isomorphic-ws": "^5.0.0",
"liquidjs-lib": "^6.0.2-liquid.32",
"liquidjs-lib": "^6.0.2-liquid.34",
"lodash.debounce": "^4.0.8",
"lottie-web": "^5.7.8",
"marina-provider": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/pkg/boltz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class Boltz implements BoltzInterface {
'OP_ELSE',
'OP_DROP',
cltv,
'OP_NOP2',
'OP_CHECKLOCKTIMEVERIFY',
'OP_DROP',
refundPubKey,
'OP_ENDIF',
Expand All @@ -583,7 +583,7 @@ export class Boltz implements BoltzInterface {
boltzPubkey,
'OP_ELSE',
cltv,
'OP_NOP2', // OP_CHECKLOCKTIMEVERIFY
'OP_CHECKLOCKTIMEVERIFY',
'OP_DROP',
refundPublicKey,
'OP_ENDIF',
Expand Down
2 changes: 1 addition & 1 deletion test/boltz.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getAddressForSwapScript = (
boltzPubkey,
'OP_ELSE',
timelock,
'OP_NOP2',
'OP_CHECKLOCKTIMEVERIFY',
'OP_DROP',
refundPubKey,
'OP_ENDIF',
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,12 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==

"@ionio-lang/ionio@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@ionio-lang/ionio/-/ionio-0.5.2.tgz#4384e319f6f28b4c7cb40d94e268ba3dbd60de28"
integrity sha512-6P9H9FMPlmlN/DujwC8eeU6D0OHYW73GaHlucyHWIazSufifKF+mcQzV3hMNsaxAi7UQOkQ5UMCRKuOZpeK//A==
"@ionio-lang/ionio@^0.5.3":
version "0.5.3"
resolved "https://registry.yarnpkg.com/@ionio-lang/ionio/-/ionio-0.5.3.tgz#847c967df0f231bc48e2cc8c22455032fdb8c5b8"
integrity sha512-VOizIv8/ugBeoMI3K03qdzc6Fm9L9klEyuwD12qEurLjXLDsF/HR3+BG7R4lgfLPEtHfFsrahEyN7KmoNSXGLQ==
dependencies:
liquidjs-lib "^6.0.2-liquid.32"
liquidjs-lib "^6.0.2-liquid.34"

"@istanbuljs/load-nyc-config@^1.0.0":
version "1.1.0"
Expand Down Expand Up @@ -5556,10 +5556,10 @@ lines-and-columns@^2.0.2:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b"
integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==

liquidjs-lib@^6.0.2-liquid.32:
version "6.0.2-liquid.32"
resolved "https://registry.yarnpkg.com/liquidjs-lib/-/liquidjs-lib-6.0.2-liquid.32.tgz#23f13a23eb49dcda7708bb1542b75db97acc8adc"
integrity sha512-EHKulPNptqGyPZKbWCygdvRP6FIjHLoLRJ0YTAp58Ikm9/t9UjFgeWEwrAwORwKyc4BnWTVwJqNZEBBzjX+cAA==
liquidjs-lib@^6.0.2-liquid.34:
version "6.0.2-liquid.34"
resolved "https://registry.yarnpkg.com/liquidjs-lib/-/liquidjs-lib-6.0.2-liquid.34.tgz#f48817e2036ed4e2d3ed322995b0487f5794ab87"
integrity sha512-oGW7ianIcrSlK4HdKlhpShx5H4jRxzS/KZahozOb0Vfkz/3PrAXa6fIwuAxfnhOzchVKwqlXerCZvIBXzDQA5g==
dependencies:
"@types/randombytes" "^2.0.0"
bech32 "^2.0.0"
Expand Down

0 comments on commit e292f9e

Please sign in to comment.