File tree 6 files changed +11
-14
lines changed
test-integrations/new-api/internal/new-execution
6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ import { emitExecutionEvent } from "./utils/emitExecutionEvent";
10
10
* @beta
11
11
*/
12
12
export class MemoryJournal implements Journal {
13
- private messages : JournalMessage [ ] = [ ] ;
13
+ private _messages : JournalMessage [ ] = [ ] ;
14
14
15
15
constructor ( private _executionEventListener ?: ExecutionEventListener ) { }
16
16
17
17
public record ( message : JournalMessage ) : void {
18
18
this . _log ( message ) ;
19
19
20
- this . messages . push ( message ) ;
20
+ this . _messages . push ( message ) ;
21
21
}
22
22
23
23
public async * read ( ) : AsyncGenerator < JournalMessage > {
24
- for ( const message of this . messages ) {
24
+ for ( const message of this . _messages ) {
25
25
yield message ;
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ describe("JSON-RPC client", function () {
53
53
return { artifact, address : receipt ! . contractAddress ! } ;
54
54
}
55
55
56
- describe ( "getChainId" , async function ( ) {
56
+ describe ( "getChainId" , function ( ) {
57
57
it ( "Should return the chainId as number" , async function ( ) {
58
58
const chainId = await client . getChainId ( ) ;
59
59
60
60
assert . equal ( chainId , 31337 ) ;
61
61
} ) ;
62
62
} ) ;
63
63
64
- describe ( "getLatestBlock" , async function ( ) {
64
+ describe ( "getLatestBlock" , function ( ) {
65
65
it ( "Should return the first block in the correct format" , async function ( ) {
66
66
const block = await client . getLatestBlock ( ) ;
67
67
@@ -80,7 +80,7 @@ describe("JSON-RPC client", function () {
80
80
} ) ;
81
81
} ) ;
82
82
83
- describe ( "getNetworkFees" , async function ( ) {
83
+ describe ( "getNetworkFees" , function ( ) {
84
84
describe ( "With an EIP-1559 network (i.e. Hardhat Network)" , function ( ) {
85
85
it ( "Should return information about EIP-1559 fees" , async function ( ) {
86
86
const fees = await client . getNetworkFees ( ) ;
Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ describe("abi", () => {
507
507
} ) ;
508
508
} ) ;
509
509
510
- describe ( "When the function returns something and there's no clash" , async ( ) => {
510
+ describe ( "When the function returns something and there's no clash" , ( ) => {
511
511
it ( "should return RevertWithoutReason" , async ( ) => {
512
512
const { decoded } = decode ( "C" , "revertWithoutReasonWithoutClash" ) ;
513
513
assert . deepEqual ( decoded , {
@@ -631,7 +631,7 @@ describe("abi", () => {
631
631
} ) ;
632
632
} ) ;
633
633
634
- describe ( "When the function returns something and there's no clash" , async ( ) => {
634
+ describe ( "When the function returns something and there's no clash" , ( ) => {
635
635
it ( "should return RevertWithoutReason" , async ( ) => {
636
636
const { decoded } = decode ( "C" , "invalidOpcode" ) ;
637
637
assert . deepEqual ( decoded , {
Original file line number Diff line number Diff line change 1
- ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f )
2
- [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org )
1
+ ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f ) [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org )
3
2
4
3
---
5
4
Original file line number Diff line number Diff line change 1
- ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f )
2
- [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition-viem.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org )
1
+ ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f ) [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition-viem.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org )
3
2
4
3
---
5
4
Original file line number Diff line number Diff line change 1
- ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f )
2
- [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org ) [ ![ Open in Dev Containers] ( https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode )] ( https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/NomicFoundation/hardhat-ignition.git )
1
+ ![ hardhat_Ignition_banner] ( https://github.com/NomicFoundation/hardhat-ignition/assets/24030/cc73227b-8791-4bb3-bc9a-a39be69d215f ) [ ![ npm] ( https://img.shields.io/npm/v/@nomicfoundation/hardhat-ignition.svg )] ( https://www.npmjs.com/package/@nomicfoundation/hardhat-ignition ) [ ![ hardhat] ( https://hardhat.org/buidler-plugin-badge.svg?1 )] ( https://hardhat.org ) [ ![ Open in Dev Containers] ( https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode )] ( https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/NomicFoundation/hardhat-ignition.git )
3
2
4
3
---
5
4
You can’t perform that action at this time.
0 commit comments