Skip to content

Commit

Permalink
Update MAX_GAS_LIMIT_CC (#1012)
Browse files Browse the repository at this point in the history
* set MAX_GAS_LIMIT_CC = 22

* bump v2.8.9

* update dockerfile
  • Loading branch information
zjb0807 authored Aug 23, 2024
1 parent a1aab87 commit a37d93a
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docker/bodhi-runner.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as bodhi-runner
FROM node:16-alpine AS bodhi-runner
LABEL maintainer="hello@acala.network"

### required to build some native deps
Expand Down
2 changes: 1 addition & 1 deletion docker/eth-providers-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== eth-providers-test =============== #
FROM bodhi-runner as eth-providers-test
FROM bodhi-runner AS eth-providers-test

VOLUME ["/app"]
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion docker/eth-rpc-adapter-server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== eth-rpc-adapter =============== #
FROM bodhi-runner as eth-rpc-adapter
FROM bodhi-runner AS eth-rpc-adapter

VOLUME ["/app"]
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion docker/eth-rpc-adapter-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== eth-rpc-adapter-test =============== #
FROM bodhi-runner as eth-rpc-adapter-test
FROM bodhi-runner AS eth-rpc-adapter-test
VOLUME ["/app"]
WORKDIR /app
ENV ENDPOINT_URL=ws://mandala-node:9944
Expand Down
2 changes: 1 addition & 1 deletion docker/hardhat-tutorials-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== hardhat-tutorials =============== #
FROM bodhi-runner as hardhat-tutorials
FROM bodhi-runner AS hardhat-tutorials
VOLUME ["/app"]
WORKDIR /app
ENV ENDPOINT_URL=ws://mandala-node:9944
Expand Down
2 changes: 1 addition & 1 deletion docker/subql-node.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM subquerynetwork/subql-node-substrate:v3.10.1 as subql-node
FROM subquerynetwork/subql-node-substrate:v3.10.1 AS subql-node
LABEL maintainer="hello@acala.network"

VOLUME ["/app"]
Expand Down
2 changes: 1 addition & 1 deletion docker/truffle-tutorials-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== truffle-tutorials =============== #
FROM bodhi-runner as truffle-tutorials
FROM bodhi-runner AS truffle-tutorials
VOLUME ["/app"]
WORKDIR /app
ENV ENDPOINT_URL=ws://mandala-node:9944
Expand Down
2 changes: 1 addition & 1 deletion docker/waffle-examples-test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== waffle-examples =============== #
FROM bodhi-runner as waffle-examples
FROM bodhi-runner AS waffle-examples
VOLUME ["/app"]
WORKDIR /app
ENV ENDPOINT_URL=ws://mandala-node:9944
Expand Down
2 changes: 1 addition & 1 deletion docker/yarn.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============== yarn install =============== #
FROM bodhi-runner as yarn-install
FROM bodhi-runner AS yarn-install

VOLUME ["/app"]
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion packages/bodhi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/bodhi",
"version": "2.8.8",
"version": "2.8.9",
"repository": "git@github.com:AcalaNetwork/bodhi.js.git",
"author": "Acala Developers <hello@acala.network>",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/bodhi/src/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = 'bodhi.js/bodhi/2.8.8';
export const version = 'bodhi.js/bodhi/2.8.9';
2 changes: 1 addition & 1 deletion packages/eth-providers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/eth-providers",
"version": "2.8.8",
"version": "2.8.9",
"license": "MIT",
"author": "Acala Developers <hello@acala.network>",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eth-providers/src/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = 'bodhi.js/providers/2.8.8';
export const version = 'bodhi.js/providers/2.8.9';
2 changes: 1 addition & 1 deletion packages/eth-providers/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const ORPHAN_TX_DEFAULT_INFO = {

export const BLOCK_GAS_LIMIT = 29_990_016;
export const BLOCK_STORAGE_LIMIT = 3_670_016;
export const MAX_GAS_LIMIT_CC = 21; // log2(BLOCK_STORAGE_LIMIT)
export const MAX_GAS_LIMIT_CC = 22; // log2(BLOCK_STORAGE_LIMIT)

export const ONE_GWEI = 1_000_000_000n;
export const TEN_GWEI = ONE_GWEI * 10n;
Expand Down
2 changes: 1 addition & 1 deletion packages/eth-rpc-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/eth-rpc-adapter",
"version": "2.8.8",
"version": "2.8.9",
"license": "MIT",
"author": "Acala Developers <hello@acala.network>",
"bin": "./bin/eth-rpc-adapter.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eth-rpc-adapter/src/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = 'bodhi.js/eth-rpc-adapter/2.8.8';
export const version = 'bodhi.js/eth-rpc-adapter/2.8.9';
2 changes: 1 addition & 1 deletion packages/eth-transactions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/eth-transactions",
"version": "2.8.8",
"version": "2.8.9",
"license": "MIT",
"author": "Acala Developers <hello@acala.network>",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eth-transactions/src/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = 'bodhi.js/transactions/2.8.8';
export const version = 'bodhi.js/transactions/2.8.9';

0 comments on commit a37d93a

Please sign in to comment.