Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie307 committed Aug 26, 2024
1 parent f3196f4 commit e45fcde
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bmv/bsc2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.6.1'
version = '0.7.0'

dependencies {
compileOnly("foundation.icon:javaee-api:$javaeeVersion")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public BTPMessageVerifier(Address _bmc, BigInteger _chainId, @Optional byte[] _h

@External(readonly = true)
public String getVersion() {
return "0.5.0";
return "0.7.0";
}

@External(readonly = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ public String toString() {
", candidates=" + candidates +
", voters=" + voters +
", recents=" + recents +
", attestation=" + attestation +
", currTurnLength=" + currTurnLength +
", nextTurnLength=" + nextTurnLength +
'}';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,11 @@ public EthAddress getAddress() {
public BLSPublicKey getPublicKey() {
return pubkey;
}

@Override
public String toString() {
return "Validator{" +
"address=" + address +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,12 @@ public boolean contains(BLSPublicKey pubkey) {
public int size() {
return validators.size();
}

@Override
public String toString() {
return "Validators{" +
"validators=" + validators+
'}';
}

}
19 changes: 19 additions & 0 deletions bmv/bsc2/src/test/resources/testnet.json

Large diffs are not rendered by default.

0 comments on commit e45fcde

Please sign in to comment.