File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
yarn-project/ethereum/src/contracts Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export class RegistryContract {
8484 client : ViemClient ,
8585 registryAddress : Hex | EthAddress ,
8686 rollupVersion : number | bigint | 'canonical' ,
87- ) : Promise < Omit < L1ContractAddresses , 'coinIssuerAddress' > & { feeAssetOwnerAddress : EthAddress } > {
87+ ) : Promise < L1ContractAddresses & { feeAssetOwnerAddress : EthAddress } > {
8888 const registry = new RegistryContract ( client , registryAddress ) ;
8989 const governanceAddresses = await registry . getGovernanceAddresses ( ) ;
9090 const rollupAddress = await registry . getRollupAddress ( rollupVersion ) ;
@@ -100,12 +100,13 @@ export class RegistryContract {
100100 abi : TestERC20Abi ,
101101 client,
102102 } ) ;
103- const feeAssetOwner = await feeAsset . read . owner ( ) ;
103+ const feeAssetOwner = EthAddress . fromString ( await feeAsset . read . owner ( ) ) ;
104104 return {
105105 registryAddress : registry . address ,
106106 ...governanceAddresses ,
107107 ...addresses ,
108- feeAssetOwnerAddress : EthAddress . fromString ( feeAssetOwner ) ,
108+ coinIssuerAddress : feeAssetOwner ,
109+ feeAssetOwnerAddress : feeAssetOwner ,
109110 } ;
110111 }
111112
You can’t perform that action at this time.
0 commit comments