diff --git a/src/common/utils.lua b/src/common/utils.lua index ee8fa23..3ce059e 100644 --- a/src/common/utils.lua +++ b/src/common/utils.lua @@ -1,7 +1,7 @@ -- the majority of this file came from https://github.com/permaweb/aos/blob/main/process/utils.lua -local constants = require("constants") -local json = require("json") +local constants = require(".common.constants") +local json = require(".common.json") local utils = { _version = "0.0.1" } local function isArray(table) diff --git a/test/registry.test.mjs b/test/registry.test.mjs index ccc4b9b..441eae6 100644 --- a/test/registry.test.mjs +++ b/test/registry.test.mjs @@ -11,7 +11,7 @@ describe('Registry Updates', async () => { const { handle: originalHandle, memory: startMemory } = await createAntAosLoader(); - const controllerAddress = 'controller-address'.padEnd(43, '0'); + const controllerAddress = 'controller-address-'.padEnd(43, '0'); async function handle(options = {}, mem = startMemory) { return originalHandle(