@@ -12,14 +12,14 @@ import (
1212func (k Keeper ) CallFactoryToComputeUEAAddress (
1313 ctx sdk.Context ,
1414 from , factoryAddr common.Address ,
15- universalAccount * types.UniversalAccount ,
15+ universalAccountId * types.UniversalAccountId ,
1616) (* evmtypes.MsgEthereumTxResponse , error ) {
1717 abi , err := types .ParseFactoryABI ()
1818 if err != nil {
1919 return nil , errors .Wrap (err , "failed to parse factory ABI" )
2020 }
2121
22- abiUniversalAccount , err := types .NewAbiUniversalAccount ( universalAccount )
22+ abiUniversalAccountId , err := types .NewAbiUniversalAccountId ( universalAccountId )
2323 if err != nil {
2424 return nil , errors .Wrapf (err , "failed to create universal account" )
2525 }
@@ -31,7 +31,7 @@ func (k Keeper) CallFactoryToComputeUEAAddress(
3131 factoryAddr ,
3232 false , // commit
3333 "computeUEA" ,
34- abiUniversalAccount ,
34+ abiUniversalAccountId ,
3535 )
3636}
3737
@@ -40,14 +40,14 @@ func (k Keeper) CallFactoryToComputeUEAAddress(
4040func (k Keeper ) CallFactoryToDeployUEA (
4141 ctx sdk.Context ,
4242 from , factoryAddr common.Address ,
43- universalAccount * types.UniversalAccount ,
43+ universalAccountId * types.UniversalAccountId ,
4444) (* evmtypes.MsgEthereumTxResponse , error ) {
4545 abi , err := types .ParseFactoryABI ()
4646 if err != nil {
4747 return nil , errors .Wrap (err , "failed to parse factory ABI" )
4848 }
4949
50- abiUniversalAccount , err := types .NewAbiUniversalAccount ( universalAccount )
50+ abiUniversalAccountId , err := types .NewAbiUniversalAccountId ( universalAccountId )
5151 if err != nil {
5252 return nil , errors .Wrapf (err , "failed to create universal account" )
5353 }
@@ -59,7 +59,7 @@ func (k Keeper) CallFactoryToDeployUEA(
5959 factoryAddr , // destination: FactoryV1 contract
6060 true , // commit = true (real tx, not simulation)
6161 "deployUEA" ,
62- abiUniversalAccount ,
62+ abiUniversalAccountId ,
6363 )
6464}
6565
0 commit comments