Skip to content

Commit

Permalink
test: re-included eth_getCode and eth_sendRawTransaction in the relea…
Browse files Browse the repository at this point in the history
…se testing flow (hashgraph#2582)

Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
  • Loading branch information
quiet-node authored Jun 8, 2024
1 parent 71606b2 commit 40f72bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/ws-server/tests/acceptance/getCode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ describe('@web-socket-batch-2 eth_getCode', async function () {
}
});

it('should return the code ethers WebSocketProvider', async function () {
it('@release should return the code ethers WebSocketProvider', async function () {
const codeFromWs = await ethersWsProvider.getCode(basicContractAddress);
expect(codeFromWs).to.be.a('string');
expect(codeFromRPC).to.equal(codeFromWs);
});

it('should return the code through a websocket', async () => {
it('@release should return the code through a websocket', async () => {
const param = [basicContractAddress, 'latest'];
const response = await WsTestHelper.sendRequestToStandardWebSocket(METHOD_NAME, param);
WsTestHelper.assertJsonRpcObject(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('@web-socket-batch-2 eth_sendRawTransaction', async function () {
});
}

it(`Should execute eth_sendRawTransaction on Standard Web Socket and handle valid requests correctly`, async () => {
it(`@release Should execute eth_sendRawTransaction on Standard Web Socket and handle valid requests correctly`, async () => {
tx.nonce = await relay.getAccountNonce(accounts[0].address);
const signedTx = await accounts[0].wallet.signTransaction(tx);

Expand Down Expand Up @@ -179,7 +179,7 @@ describe('@web-socket-batch-2 eth_sendRawTransaction', async function () {
});
}

it(`Should execute eth_sendRawTransaction on Ethers Web Socket Provider and handle valid requests correctly`, async () => {
it(`@release Should execute eth_sendRawTransaction on Ethers Web Socket Provider and handle valid requests correctly`, async () => {
tx.nonce = await relay.getAccountNonce(accounts[1].address);
const signedTx = await accounts[1].wallet.signTransaction(tx); // const signedTx = await accounts[0].wallet.signTransaction(tx);

Expand Down

0 comments on commit 40f72bc

Please sign in to comment.