chore: Renamings + comment fixes
- Renamed ExecutorTransferMethods to TokenTransfer to avoid leaking information about how the transfer happens into the executor. The executor shouldn't care if there are multiple methods or one single method that takes care of everything. - Also renamed TransferMethod to TransferType to match the rust encoding
This commit is contained in:
committed by
Diana Carvalho
parent
4a20fa6215
commit
4bc29f283b
@@ -185,7 +185,7 @@ contract TychoRouterTestSetup is Constants, Permit2TestHelper {
|
||||
target,
|
||||
receiver,
|
||||
zero2one,
|
||||
ExecutorTransferMethods.TransferMethod.TRANSFER
|
||||
TokenTransfer.TransferType.TRANSFER
|
||||
);
|
||||
}
|
||||
|
||||
@@ -204,7 +204,7 @@ contract TychoRouterTestSetup is Constants, Permit2TestHelper {
|
||||
receiver,
|
||||
target,
|
||||
zero2one,
|
||||
ExecutorTransferMethods.TransferMethod.TRANSFER
|
||||
TokenTransfer.TransferType.TRANSFER
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user