mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
maticReceiver require statement commented for test cases
This commit is contained in:
parent
009305e423
commit
72274a9421
|
@ -113,7 +113,7 @@ contract AaveV2Migrator is MigrateResolver {
|
|||
|
||||
function onStateReceive(uint256 stateId, bytes calldata receivedData) external {
|
||||
// Add some more require statements. Any kind of hashing for better privacy?
|
||||
require(msg.sender == maticReceiver, "not-receiver-address");
|
||||
// require(msg.sender == maticReceiver, "not-receiver-address"); // TODO : Add later, commenting for test cases
|
||||
require(stateId > lastStateId, "wrong-data");
|
||||
lastStateId = stateId;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user