diff --git a/config/config.json b/config/config.json index 53c3e6489..57bfda3d8 100644 --- a/config/config.json +++ b/config/config.json @@ -980,7 +980,7 @@ ] }, "hubContractAddress": { - "otp:2043": "0x5fA7916c48Fe6D5F1738d12Ad234b78c90B4cAdA", + "otp:2043": "0x0957e25BD33034948abc28204ddA54b6E1142D6F", "gnosis:100": "0x882D0BF07F956b1b94BBfe9E77F47c6fc7D4EC8f", "base:8453": "0x99Aa571fD5e681c2D27ee08A7b7989DB02541d13" } diff --git a/package-lock.json b/package-lock.json index 37c29ff7c..a0c0240fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,12 @@ { "name": "origintrail_node", -<<<<<<< HEAD - "version": "8.0.0", -======= - "version": "6.5.1+hotfix.3", ->>>>>>> v6/prerelease/mainnet + "version": "8.0.0+hotfix.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "origintrail_node", -<<<<<<< HEAD - "version": "8.0.0", -======= - "version": "6.5.1+hotfix.3", ->>>>>>> v6/prerelease/mainnet + "version": "8.0.0+hotfix.1", "license": "ISC", "dependencies": { "@comunica/query-sparql": "^2.4.3", diff --git a/package.json b/package.json index 3b9c7aab0..c56db6cac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "8.0.0", + "version": "8.0.0+hotfix.1", "description": "OTNode V8", "main": "index.js", "type": "module", diff --git a/src/modules/repository/implementation/sequelize/migrations/20241226151800-prune-commands.js b/src/modules/repository/implementation/sequelize/migrations/20241226151800-prune-commands.js new file mode 100644 index 000000000..a3e487bff --- /dev/null +++ b/src/modules/repository/implementation/sequelize/migrations/20241226151800-prune-commands.js @@ -0,0 +1,7 @@ +export async function up({ context: { queryInterface } }) { + await queryInterface.sequelize.query('TRUNCATE TABLE commands;'); +} + +export async function down() { + // No need to do anything in the down method for truncation +}