Skip to content

Commit 40f72bc

Browse files
authored
test: re-included eth_getCode and eth_sendRawTransaction in the release testing flow (#2582)
Signed-off-by: Logan Nguyen <[email protected]>
1 parent 71606b2 commit 40f72bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ws-server/tests/acceptance/getCode.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ describe('@web-socket-batch-2 eth_getCode', async function () {
5656
}
5757
});
5858

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

65-
it('should return the code through a websocket', async () => {
65+
it('@release should return the code through a websocket', async () => {
6666
const param = [basicContractAddress, 'latest'];
6767
const response = await WsTestHelper.sendRequestToStandardWebSocket(METHOD_NAME, param);
6868
WsTestHelper.assertJsonRpcObject(response);

packages/ws-server/tests/acceptance/sendRawTransaction.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ describe('@web-socket-batch-2 eth_sendRawTransaction', async function () {
109109
});
110110
}
111111

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

@@ -179,7 +179,7 @@ describe('@web-socket-batch-2 eth_sendRawTransaction', async function () {
179179
});
180180
}
181181

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

0 commit comments

Comments
 (0)