Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/permaweb/aos into jfrain99/…
Browse files Browse the repository at this point in the history
…add-data-item-tx-to-weavedrive
  • Loading branch information
twilson63 committed Sep 27, 2024
2 parents 9fd7eba + d397d2d commit 7f8aea8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion process/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"@permaweb/ao-loader": "^0.0.36"
"@permaweb/ao-loader": "^0.0.37"
},
"scripts": {
"build": "ao build",
Expand Down
2 changes: 2 additions & 0 deletions process/process.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ local json = require('json')
local chance = require('.chance')
local crypto = require('.crypto.init')
local coroutine = require('coroutine')
-- set alias ao for .ao library
if not _G.package.loaded['ao'] then _G.package.loaded['ao'] = require('.ao') end

Colors = {
red = "\27[31m",
Expand Down
2 changes: 1 addition & 1 deletion process/test/crypto/cipher/aes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import AoLoader from '@permaweb/ao-loader';
import fs from 'fs';

const wasm = fs.readFileSync('./process.wasm');
const options = { format: "wasm64-unknown-emscripten-draft_2024_02_15", computeLimit: 10024704733 }
const options = { format: "wasm64-unknown-emscripten-draft_2024_02_15", computeLimit: 100247047330 }

test('run aes cipher successfully', async () => {
const handle = await AoLoader(wasm, options);
Expand Down

0 comments on commit 7f8aea8

Please sign in to comment.