Skip to content

Commit da7d04c

Browse files
committed
fix NewBlockEvent filter test
1 parent 96a76a2 commit da7d04c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

chain/tests/test_block_chain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ fn test_chain_filter_events() {
3434

3535
let event_type_tag = TypeTag::Struct(Box::new(StructTag {
3636
address: genesis_address(),
37-
module: Identifier::from_str("Block").unwrap(),
38-
name: Identifier::from_str("NewBlockEventV2").unwrap(),
37+
module: Identifier::from_str("stc_block").unwrap(),
38+
name: Identifier::from_str("NewBlockEvent").unwrap(),
3939
type_args: vec![],
4040
}));
4141

scripts/nextest.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ cargo nextest run \
2929
-p starcoin-node \
3030
-p starcoin-config \
3131
-p starcoin-txpool \
32+
-p starcoin-chain \
3233
--retries 2 --build-jobs 8 --test-threads 12 --no-fail-fast --failure-output immediate-final
3334

3435

0 commit comments

Comments
 (0)