diff --git a/.changeset/eight-maps-scream.md b/.changeset/flat-kings-brake.md similarity index 100% rename from .changeset/eight-maps-scream.md rename to .changeset/flat-kings-brake.md diff --git a/.changeset/violet-bottles-double.md b/.changeset/violet-bottles-double.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/violet-bottles-double.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/package-lock.json b/package-lock.json index 7d670dcf..884b702d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15260,7 +15260,7 @@ }, "packages/chains/ergo": { "name": "@rosen-chains/ergo", - "version": "10.1.0", + "version": "10.1.1", "license": "CC0-1.0", "dependencies": { "@rosen-bridge/abstract-logger": "^2.0.1", @@ -16784,13 +16784,13 @@ }, "packages/networks/ergo-explorer": { "name": "@rosen-chains/ergo-explorer-network", - "version": "9.0.4", + "version": "9.0.5", "license": "CC0-1.0", "dependencies": { "@rosen-bridge/abstract-logger": "^2.0.1", "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-chains/abstract-chain": "^11.0.0", - "@rosen-chains/ergo": "^10.1.0", + "@rosen-chains/ergo": "^10.1.1", "@rosen-clients/ergo-explorer": "^1.1.1", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" @@ -16832,13 +16832,13 @@ }, "packages/networks/ergo-node": { "name": "@rosen-chains/ergo-node-network", - "version": "9.0.4", + "version": "9.0.5", "license": "CC0-1.0", "dependencies": { "@rosen-bridge/abstract-logger": "^2.0.1", "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-chains/abstract-chain": "^11.0.0", - "@rosen-chains/ergo": "^10.1.0", + "@rosen-chains/ergo": "^10.1.1", "@rosen-clients/ergo-node": "^1.1.1", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" diff --git a/packages/chains/ergo/CHANGELOG.md b/packages/chains/ergo/CHANGELOG.md index 3c5bbbc4..c6d64226 100644 --- a/packages/chains/ergo/CHANGELOG.md +++ b/packages/chains/ergo/CHANGELOG.md @@ -1,5 +1,11 @@ # @rosen-chains/ergo +## 10.1.1 + +### Patch Changes + +- Add creation height verification + ## 10.1.0 ### Minor Changes diff --git a/packages/chains/ergo/lib/ErgoChain.ts b/packages/chains/ergo/lib/ErgoChain.ts index 1f4ff45d..f7ed880d 100644 --- a/packages/chains/ergo/lib/ErgoChain.ts +++ b/packages/chains/ergo/lib/ErgoChain.ts @@ -559,6 +559,7 @@ class ErgoChain extends AbstractUtxoChain { /** * verifies additional conditions for a PaymentTransaction * 1. change boxes should not have register + * 2. output boxes should have higher creation height than inputs * @param transaction the PaymentTransaction * @param signingStatus the signing status of transaction * @returns true if the transaction verified @@ -578,6 +579,13 @@ class ErgoChain extends AbstractUtxoChain { tx = Serializer.deserialize(transaction.txBytes).unsigned_tx(); } + const ergoTx = transaction as ErgoTransaction; + const maxCreationHeight = Math.max( + ...ergoTx.inputBoxes.map((serializedBox) => + wasm.ErgoBox.sigma_parse_bytes(serializedBox).creation_height() + ) + ); + const outputBoxes = tx.output_candidates(); const lockErgoTree = wasm.Address.from_base58(this.configs.addresses.lock) .to_ergo_tree() @@ -601,6 +609,18 @@ class ErgoChain extends AbstractUtxoChain { } } + for (let i = 0; i < outputBoxes.len(); i++) { + const output = outputBoxes.get(i); + if (output.creation_height() < maxCreationHeight) { + this.logger.warn( + `Tx [${ + transaction.txId + }] is not verified: Output box at index [${i}] has low creation height. Expected more than [${maxCreationHeight}] found [${output.creation_height()}]` + ); + return false; + } + } + return true; }; diff --git a/packages/chains/ergo/package.json b/packages/chains/ergo/package.json index e10fd94e..d7a41541 100644 --- a/packages/chains/ergo/package.json +++ b/packages/chains/ergo/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo", - "version": "10.1.0", + "version": "10.1.1", "description": "this project contains ergo chain for Rosen-bridge", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", diff --git a/packages/chains/ergo/tests/ErgoChain.spec.ts b/packages/chains/ergo/tests/ErgoChain.spec.ts index 34bcef27..540763ac 100644 --- a/packages/chains/ergo/tests/ErgoChain.spec.ts +++ b/packages/chains/ergo/tests/ErgoChain.spec.ts @@ -1317,6 +1317,54 @@ describe('ErgoChain', () => { // check returned value expect(result).toEqual(false); }); + + /** + * @target ErgoChain.verifyTransactionExtraConditions should return false + * when output creation height is less than an input + * @dependencies + * @scenario + * - mock valid PaymentTransaction + * - mock a config with valid lockAddress + * - run test + * - check returned value + * @expected + * - it should return false + */ + it('should return false when output creation height is less than an input', async () => { + // mock PaymentTransaction + const paymentTx = ErgoTransaction.fromJson( + transactionTestData.transaction7PaymentTransaction + ); + + // mock a config with valid lockAddress + const config: ErgoConfigs = { + fee: 1200000n, + confirmations: ergoTestUtils.defaultConfirmations, + addresses: { + lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', + cold: 'cold_addr', + permit: 'permit_addr', + fraud: 'fraud_addr', + }, + rwtId: ergoTestUtils.rwtId, + minBoxValue: 1000000n, + eventTxConfirmation: 18, + }; + + // run test + const ergoChain = new ErgoChain( + network, + config, + ergoTestUtils.testTokenMap, + ergoTestUtils.defaultSignFunction + ); + const result = await ergoChain.verifyTransactionExtraConditions( + paymentTx + ); + + // check returned value + expect(result).toEqual(false); + }); }); describe('isTxValid', () => { diff --git a/packages/chains/ergo/tests/transactionTestData.ts b/packages/chains/ergo/tests/transactionTestData.ts index 02a4ad9f..269fd427 100644 --- a/packages/chains/ergo/tests/transactionTestData.ts +++ b/packages/chains/ergo/tests/transactionTestData.ts @@ -1592,3 +1592,5 @@ export const invalidOrder = [ }, }, ]; + +export const transaction7PaymentTransaction = `{"network":"ergo","txId":"72c6e7c5bf46ca106f81761a6bedf83b201ac79149ab2de8b88bb3f34a8647b3","eventId":"2bedc6e54ede7748e5efc7df689a0a89b281ac1d92d09054650d5f27a25d5b7c","txBytes":"ef250471d166c0a74fdc5111379e9fe19b471bff2d9d202f659c43f531f106355d435b0000e7506ce39824c7a6ff2d37ae3b416d1c7121e052466b301dbcf3dce9af3b7fdd00003066dd4cc794579655384ed1e7cf8f42d6aa36fea5b079e6b21528bf9a72269b00009855b8d84809901dcae938e736e8cd97701d092c8b492e8d3979951d7048bd37000001350bff7491aa9bf828a922fd8f50df0191c6ae586cb077d84b9caef5dd96cfbc051d9a45e047b45a4a4c565ac49e70b5e2f03f625975cbe41912833e9a547d060d10278c102bf890fdab8ef5111e94053c90b3541bc25b0de2ee8aa6305ccec3defc6c2070eb004fc08fcde1514dee56b1d0587477748d8af647179b098f52f559517c91b4ea680166ddd3f67b27b0274c20bbd2aeb82b60eaf5bf5471b37f684afbbaac7337d051c10fc3da0ccb864f4d32d40027551e1c3ea3ce361f39b91e400fe0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e209dc9311055af1547a6739d7cdd5e17b75aa7338e8990f41fff40bbbe0d644446e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e208abfa5881954da4848d720847f3b4f1577682cf5738827388bf418f2487f4852e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e200b5fe301668c691ba7310038a612e01b717f20062dd19c1a4552edb7b0037ce1e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e20f9f75e886f9f88a3ba0809ae60accd3de67ab0ce5ba3436524c5bf666dd3b1dce0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e20005740bfc12e8af70d5230c872be782a3201312108579c7461780ef590268168e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e20484a851b92f503bdc4c28801003b2886980feebea479852fa9734dc82d176029e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e20eddfa367686cacef732e2bda97ff2357fc8177997a89d94b1aa0b7e7a68fb23be0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e209f3c93a1d23a8f9e7724c30d81bd3b8ba69f20c89753699a994b82bf6ae26925e0a71210130400040004040400040204000e203ac8a90d0aa8c5c50e99dd2588a990fd37b5d3aee70e32d56241f41ed49e9f030404040004000400010104020400040004000e203de37506fc685d71aae6c896771f3c81f91cb27cd30e4f7d12076bb2a5ba6a3805020101d807d601b2a5730000d6028cb2db6308a773010001d603aeb5b4a57302b1a5d901036391b1db630872037303d9010363aedb63087203d901054d0e938c7205017202d604e4c6a7041ad605b2a5730400d606db63087205d607ae7206d901074d0e938c720701720295938cb2db63087201730500017306d196830301ef7203938cb2db6308b2a473070073080001b2720473090095720796830201938cb27206730a0001720293c27205c2a7730bd801d608c2a7d196830501ef720393c27201720893e4c67201041a7204938cb2db6308b2a4730c00730d0001b27204730e00957207d801d609b27206730f0096830701938c720901720293cbc272057310e6c67205051ae6c67205060e93e4c67205070ecb720893e4c67205041a7204938c7209027311731281e13a0200010164010e20294bbe6ae9df2b402d93536ef7b741e0ccc7527f7d51a09ee50606b30491388fa0a1820d0008cd02d0b75bc997751195d143671cc10e8a590f25b987f2b2dd0d99cc5f48c6966d3d81e13a0101b410010e0080897a0008cd03cc76f1074a4477cd378329c4e902ee6145add72e9c26c82b4f2255e768d4881181e13a0000ea8cd50a0008cd02d229bb11603f2a9ccdea55e2c4660a5e5bd4f3c08863c1ff2b5df25f5bd1043281e13a0000e3d9a0eca301100304000e20a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b5380400d801d601b2db6501fe730000ea02d1aedb63087201d901024d0e938c720201730198b2e4c672010510730200ade4c67201041ad901020ecdee7202f0fa3a040283c6b0b00b03f6c4aefa01040101839d980200e3d9a0eca301100304000e20a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b5380400d801d601b2db6501fe730000ea02d1aedb63087201d901024d0e938c720201730198b2e4c672010510730200ade4c67201041ad901020ecdee7202f0fa3a040284c6b0b00b03f7c4aefa01040201839d980200e091431005040004000e36100204a00b08cd0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ea02d192a39a8cc7a701730073011001020402d19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304f0fa3a0000d20098070acd02db3849f655693c28e3c44ededd546c6c3267b6f90c0f9ad9785061c387ca2e69cd0249e1b4b331b93481cc812c024f1f8a198fe078895ad7f03ab890bd4e81fb5907cd020e106e606e70e426a19900f42f3210420f53498c9956106d30b1837596dbc451cd02ddd718f3080a04c2e9f2016dc13153f65d64da83ccfea433139c89236476e2b7cd02e2c106d43c57936310f06d4fea9f6940dbf1c4e32cb99bdd7ac7b7714e545271cd032bb38046b67ed49aa6f4d255bbe1c098ff2f7b682f9922a2a376862de266b16ecd03c3374d06b092583835a3a93c7acbc6c449656881abff5d6b17df456a7f3d618bcd02956d0fd87b81ebe8ea4763a64e126a548adef2eec3a9719683944100cb992bc5cd02b980e0cbb817f80163485aea9ce59c3d6249d510733002a9fc6843718a540b07cd03d7e6475ef5ceb9b0e9b0cad722c9cbfa3a13e8e94188ac963e11e4e66e9eaa2c0098070acd02db3849f655693c28e3c44ededd546c6c3267b6f90c0f9ad9785061c387ca2e69cd0249e1b4b331b93481cc812c024f1f8a198fe078895ad7f03ab890bd4e81fb5907cd020e106e606e70e426a19900f42f3210420f53498c9956106d30b1837596dbc451cd02ddd718f3080a04c2e9f2016dc13153f65d64da83ccfea433139c89236476e2b7cd02e2c106d43c57936310f06d4fea9f6940dbf1c4e32cb99bdd7ac7b7714e545271cd032bb38046b67ed49aa6f4d255bbe1c098ff2f7b682f9922a2a376862de266b16ecd03c3374d06b092583835a3a93c7acbc6c449656881abff5d6b17df456a7f3d618bcd02956d0fd87b81ebe8ea4763a64e126a548adef2eec3a9719683944100cb992bc5cd02b980e0cbb817f80163485aea9ce59c3d6249d510733002a9fc6843718a540b07cd03d7e6475ef5ceb9b0e9b0cad722c9cbfa3a13e8e94188ac963e11e4e66e9eaa2c0098070acd02db3849f655693c28e3c44ededd546c6c3267b6f90c0f9ad9785061c387ca2e69cd0249e1b4b331b93481cc812c024f1f8a198fe078895ad7f03ab890bd4e81fb5907cd020e106e606e70e426a19900f42f3210420f53498c9956106d30b1837596dbc451cd02ddd718f3080a04c2e9f2016dc13153f65d64da83ccfea433139c89236476e2b7cd02e2c106d43c57936310f06d4fea9f6940dbf1c4e32cb99bdd7ac7b7714e545271cd032bb38046b67ed49aa6f4d255bbe1c098ff2f7b682f9922a2a376862de266b16ecd03c3374d06b092583835a3a93c7acbc6c449656881abff5d6b17df456a7f3d618bcd02956d0fd87b81ebe8ea4763a64e126a548adef2eec3a9719683944100cb992bc5cd02b980e0cbb817f80163485aea9ce59c3d6249d510733002a9fc6843718a540b07cd03d7e6475ef5ceb9b0e9b0cad722c9cbfa3a13e8e94188ac963e11e4e66e9eaa2c0000","txType":"payment","inputBoxes":["e09fdc041008040004000e200ab4d9f4de06bcabc9473a0a29dd0b9f28159226f0abb9d5c35d4f77c69803e1040204000e20f833f756e1bf9d15b8f984aefa64482040d6c8b3ec217b2be8b8a477e82d900d04c0700e206a1a0cf61ec4148916281e6d82a1d17a60eed7845200401d5231377f4643ba67d805d601e4c6a7041ad602b17201d603b4a573007202d604c2b2a5730100d605cb7204d196830301937202b17203afdc0c1d7201017203d901063c0e63d801d6088c720602ed9383010e8c720601e4c67208041a93c27208720495937205730296830201938cb2db6308b2a47303007304000173059299a373068cc7a70196830201aea4d901066393cbc272067307937205e4c6a7060eb4da3a011d9a45e047b45a4a4c565ac49e70b5e2f03f625975cbe41912833e9a547d060d09031a09209dc9311055af1547a6739d7cdd5e17b75aa7338e8990f41fff40bbbe0d644446208abfa5881954da4848d720847f3b4f1577682cf5738827388bf418f2487f4852200b5fe301668c691ba7310038a612e01b717f20062dd19c1a4552edb7b0037ce120f9f75e886f9f88a3ba0809ae60accd3de67ab0ce5ba3436524c5bf666dd3b1dc20005740bfc12e8af70d5230c872be782a3201312108579c7461780ef59026816820484a851b92f503bdc4c28801003b2886980feebea479852fa9734dc82d17602920eddfa367686cacef732e2bda97ff2357fc8177997a89d94b1aa0b7e7a68fb23b209f3c93a1d23a8f9e7724c30d81bd3b8ba69f20c89753699a994b82bf6ae2692520294bbe6ae9df2b402d93536ef7b741e0ccc7527f7d51a09ee50606b30491388f1a0c40366264383066666234343761336166646164343236613336616564353061636461663362353164343866313433393062323965393664636262313738666539650763617264616e6f046572676f6761646472317139373779347334783337757a3463777775676e647170633933706d737366326c64303566356e676c6d6b66336b6a786d63643632397a7a6c7a3666356c3870326674777473716766343532676574707833356b6363733573347171666576327067333967376372356e3545487077416a6f595a70706a74575a663464754c434d46467a6f50736756364c744b447a5242634a3248630800000000033d8e6a080000000001c9c3800800000000001e84802c617373657431703430723065756e32616c737a6c78686a376b3475796c796134636a35346c786b6a6a6d736d036572674038376234303038376539333632653339396438313031333962633231393733313232326434663839626363366630663566646263636438313730376261383661080000000000820a9b0e20203ace1f2606730afc938bf9a38d991bae1f99bc84a7ef66e850d66005a9d92190e09cc766734b4c29d21c1c3c6df6fb4482e26fe7a534386136c8c2dd6c54fc00","c0843d100304000e20a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b5380400d801d601b2db6501fe730000ea02d1aedb63087201d901024d0e938c720201730198b2e4c672010510730200ade4c67201041ad901020ecdee7202ffaa3901fc6c2070eb004fc08fcde1514dee56b1d0587477748d8af647179b098f52f5599db2fe01011a050763617264616e6f67616464723171797267727068647379376c746132726165327075386870356d7732666e7076753873653030727861367a7a6d63347368346779666b646870776671386c6e68356c39353636336430396e337339637275746e63397977616d637671733565356d360634303030303007323030303030303339685a785633594e536662437153364745736573374468415653617476616f4e746473694e766b696d504747326338667a6b47695e6c1b7c3f0ff50e34292cc8431dafd64bdff961c987182c791aee16d077cf00","a0cc8ac601100304000e20a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b5380400d801d601b2db6501fe730000ea02d1aedb63087201d901024d0e938c720201730198b2e4c672010510730200ade4c67201041ad901020ecdee7202ecab3900011a050763617264616e6f67616464723171797267727068647379376c746132726165327075386870356d7732666e7076753873653030727861367a7a6d63347368346779666b646870776671386c6e68356c39353636336430396e337339637275746e63397977616d637671733565356d360731303030303030093230303030303030303339685a785633594e536662437153364745736573374468415653617476616f4e746473694e766b696d504747326338667a6b479093daad4db8f273f5caa99fa7c6c702211355957747c732f8f98d22f95aacb200","d0f1d6a7c602100304000e20a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b5380400d801d601b2db6501fe730000ea02d1aedb63087201d901024d0e938c720201730198b2e4c672010510730200ade4c67201041ad901020ecdee720282e13a04fc6c2070eb004fc08fcde1514dee56b1d0587477748d8af647179b098f52f559ead9e2de16517c91b4ea680166ddd3f67b27b0274c20bbd2aeb82b60eaf5bf5471b37f684aed89ddf403fbbaac7337d051c10fc3da0ccb864f4d32d40027551e1c3ea3ce361f39b91e400310278c102bf890fdab8ef5111e94053c90b3541bc25b0de2ee8aa6305ccec3debed1b0040010a79e37f53c5130015d2361315e32e3fdddaa14d2bf2ede94a6c4c1beaf5b670c"],"dataInputs":["e09143100504000400040004000402d802d601c2a7d602b2a5730000ea02d196830301937201c2b2a473010093c272027201938cb2db63087202730200018cb2db6308a77303000198b2e4c6a70510730400ade4c6a7041ad901030ecdee7203d9dc3301a96b8049f0741c7255b60cf01954439d2e4b2d19ae7d8ebc688ecb190a33b53801021a0a2102db3849f655693c28e3c44ededd546c6c3267b6f90c0f9ad9785061c387ca2e69210249e1b4b331b93481cc812c024f1f8a198fe078895ad7f03ab890bd4e81fb590721020e106e606e70e426a19900f42f3210420f53498c9956106d30b1837596dbc4512102ddd718f3080a04c2e9f2016dc13153f65d64da83ccfea433139c89236476e2b72102e2c106d43c57936310f06d4fea9f6940dbf1c4e32cb99bdd7ac7b7714e54527121032bb38046b67ed49aa6f4d255bbe1c098ff2f7b682f9922a2a376862de266b16e2103c3374d06b092583835a3a93c7acbc6c449656881abff5d6b17df456a7f3d618b2102956d0fd87b81ebe8ea4763a64e126a548adef2eec3a9719683944100cb992bc52102b980e0cbb817f80163485aea9ce59c3d6249d510733002a9fc6843718a540b072103d7e6475ef5ceb9b0e9b0cad722c9cbfa3a13e8e94188ac963e11e4e66e9eaa2c10020e10e3f3794c3bfe63a88a2703a2588bce143bdc40fbd06bbdb469bbfaf00cf4eb3500"]}`; diff --git a/packages/networks/ergo-explorer/CHANGELOG.md b/packages/networks/ergo-explorer/CHANGELOG.md index 248b812a..3469ebe3 100644 --- a/packages/networks/ergo-explorer/CHANGELOG.md +++ b/packages/networks/ergo-explorer/CHANGELOG.md @@ -1,5 +1,12 @@ # @rosen-chains/ergo-explorer-network +## 9.0.5 + +### Patch Changes + +- Update dependencies + - @rosen-chains/ergo@10.1.1 + ## 9.0.4 ### Patch Changes diff --git a/packages/networks/ergo-explorer/package.json b/packages/networks/ergo-explorer/package.json index 278cf832..c735ee1b 100644 --- a/packages/networks/ergo-explorer/package.json +++ b/packages/networks/ergo-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo-explorer-network", - "version": "9.0.4", + "version": "9.0.5", "description": "ergo explorer network package for rosen ergo chain", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -23,7 +23,7 @@ "@rosen-bridge/abstract-logger": "^2.0.1", "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-chains/abstract-chain": "^11.0.0", - "@rosen-chains/ergo": "^10.1.0", + "@rosen-chains/ergo": "^10.1.1", "@rosen-clients/ergo-explorer": "^1.1.1", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" diff --git a/packages/networks/ergo-node/CHANGELOG.md b/packages/networks/ergo-node/CHANGELOG.md index cab95afd..bd528bc0 100644 --- a/packages/networks/ergo-node/CHANGELOG.md +++ b/packages/networks/ergo-node/CHANGELOG.md @@ -1,5 +1,12 @@ # @rosen-chains/ergo-node-network +## 9.0.5 + +### Patch Changes + +- Update dependencies + - @rosen-chains/ergo@10.1.1 + ## 9.0.4 ### Patch Changes diff --git a/packages/networks/ergo-node/package.json b/packages/networks/ergo-node/package.json index a8e0f0ba..4568da27 100644 --- a/packages/networks/ergo-node/package.json +++ b/packages/networks/ergo-node/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo-node-network", - "version": "9.0.4", + "version": "9.0.5", "description": "ergo node network package for rosen ergo chain", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -23,7 +23,7 @@ "@rosen-bridge/abstract-logger": "^2.0.1", "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-chains/abstract-chain": "^11.0.0", - "@rosen-chains/ergo": "^10.1.0", + "@rosen-chains/ergo": "^10.1.1", "@rosen-clients/ergo-node": "^1.1.1", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1"