Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: example revert on destination chains #61

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

BeroBurny
Copy link
Collaborator

Thanks to Tim for finding it!

It reverted on destination chains as the timestamp went to past time.

constructor(address _owner, uint _unlockTime) payable {
        require(
            block.timestamp < _unlockTime,
            "Unlock time should be in the future"
        );

        unlockTime = _unlockTime;
        owner = payable(_owner);
    }

@BeroBurny BeroBurny requested a review from mpetrunic March 5, 2024 15:42
@BeroBurny BeroBurny self-assigned this Mar 5, 2024
@mpetrunic mpetrunic changed the title fix: example revert on destination chains chore: example revert on destination chains Mar 5, 2024
@mpetrunic mpetrunic merged commit 1352474 into master Mar 5, 2024
4 checks passed
@mpetrunic mpetrunic deleted the beroburny/fix-example branch March 5, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants