Skip to content

Commit

Permalink
added test and changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <[email protected]>
  • Loading branch information
NickSneo committed Aug 19, 2024
1 parent 260460a commit 9382672
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
### Features

* bump snapshot version to 4.12.2 [#2093](https://github.com/hyperledger/web3j/pull/2093)
* Adds Support for Linea ENS [#2094](https://github.com/hyperledger/web3j/pull/2094)

### BREAKING CHANGES

Expand Down
4 changes: 4 additions & 0 deletions core/src/test/java/org/web3j/ens/ContractsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.web3j.ens.Contracts.LINEA;
import static org.web3j.ens.Contracts.LINEA_SEPOLIA;
import static org.web3j.ens.Contracts.MAINNET;
import static org.web3j.ens.Contracts.RINKEBY;
import static org.web3j.ens.Contracts.ROPSTEN;
Expand All @@ -33,6 +35,8 @@ public void testResolveRegistryContract() {
assertEquals(resolveRegistryContract(ChainIdLong.ROPSTEN + ""), (ROPSTEN));
assertEquals(resolveRegistryContract(ChainIdLong.RINKEBY + ""), (RINKEBY));
assertEquals(resolveRegistryContract(ChainIdLong.SEPOLIA + ""), (SEPOLIA));
assertEquals(resolveRegistryContract(ChainIdLong.LINEA + ""), (LINEA));
assertEquals(resolveRegistryContract(ChainIdLong.LINEA_SEPOLIA + ""), (LINEA_SEPOLIA));
}

@Test
Expand Down

0 comments on commit 9382672

Please sign in to comment.