Skip to content

Commit d884d3b

Browse files
authored
Bump 0.6.0-rc1 (#444)
- Bump 0.6.0-rc1 - Add waits in acceptance tests to make sure mirror node has account info Signed-off-by: Nana-EC <[email protected]>
1 parent 5f6b816 commit d884d3b

File tree

9 files changed

+19
-10
lines changed

9 files changed

+19
-10
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.7"
22
services:
33
relay:
44
container_name: hedera-jspn-rpc-relay
5-
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:main"
5+
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:0.6.0-rc1"
66
restart: "unless-stopped"
77
ports:
88
- 7546:7546

docs/openrpc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Hedera JSON-RPC Specification",
55
"description": "A specification of the implemented Ethereum JSON RPC APIs interface for Hedera clients and adheres to the Ethereum execution APIs schema.",
6-
"version": "0.6.0-SNAPSHOT"
6+
"version": "0.6.0-rc1"
77
},
88
"methods": [
99
{

helm-chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: hedera-json-rpc-relay
33
description: Helm chart deployment of the hashgraph/hedera-json-rpc-relay
44
type: application
5-
version: 0.6.0-SNAPSHOT
6-
appVersion: "0.6.0-SNAPSHOT"
5+
version: 0.6.0-rc1
6+
appVersion: "0.6.0-rc1"
77
home: https://github.com/hashgraph/hedera-json-rpc-relay

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/relay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashgraph/json-rpc-relay",
3-
"version": "0.6.0-SNAPSHOT",
3+
"version": "0.6.0-rc1",
44
"description": "Hedera Hashgraph implementation of Ethereum JSON RPC APIs. Utilises both the Hedera Consensus Nodes and the Mirror Nodes for transaction management and information retrieval",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.js",

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashgraph/json-rpc-server",
3-
"version": "0.6.0-SNAPSHOT",
3+
"version": "0.6.0-rc1",
44
"description": "Hedera Hashgraph Ethereum JSON RPC server. Accepts requests for Ethereum JSON RPC 2.0 APIs",
55
"main": "dist/index.js",
66
"keywords": [],

packages/server/tests/acceptance/erc20.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,14 @@ describe('ERC20 Acceptance Tests', async function () {
5454
{testName: HTS, expectedBytecode: EthImpl.emptyHex}
5555
];
5656

57-
before(async () => {
57+
this.beforeAll(async () => {
5858
accounts[0] = await servicesNode.createAliasAccount(30, relay.provider);
5959
accounts[1] = await servicesNode.createAliasAccount(15, relay.provider);
6060
accounts[2] = await servicesNode.createAliasAccount(15, relay.provider);
6161

62+
// alow mirror node a 2 full record stream write windows (2 sec) and a buffer to persist setup details
63+
await new Promise(r => setTimeout(r, 5000));
64+
6265
initialHolder = accounts[0].address;
6366
recipient = accounts[1].address;
6467
anotherAccount = accounts[2].address;

packages/server/tests/acceptance/htsPrecompile.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ describe('HTS Precompile Acceptance Tests', async function() {
3838
let baseHTSContract;
3939
let HTSTokenContract;
4040

41-
before(async () => {
41+
this.beforeAll(async () => {
4242
accounts[0] = await servicesNode.createAliasAccount(30, relay.provider);
4343
accounts[1] = await servicesNode.createAliasAccount(30, relay.provider);
4444
accounts[2] = await servicesNode.createAliasAccount(30, relay.provider);
4545

46+
// alow mirror node a 2 full record stream write windows (2 sec) and a buffer to persist setup details
47+
await new Promise(r => setTimeout(r, 5000));
48+
4649
baseHTSContract = await deployBaseHTSContract();
4750
HTSTokenContract = await createHTSToken();
4851
});

packages/server/tests/acceptance/rpc.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ describe('RPC Server Acceptance Tests', function () {
8888
await servicesNode.transferToken(tokenId, accounts[0].accountId);
8989
await servicesNode.transferToken(tokenId, accounts[1].accountId);
9090

91+
// alow mirror node a 2 full record stream write windows (2 sec) and a buffer to persist setup details
92+
await new Promise(r => setTimeout(r, 5000));
93+
9194
// get contract details
9295
mirrorContract = await mirrorNode.get(`/contracts/${contractId}`);
9396

0 commit comments

Comments
 (0)