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

Add invalid_delegate_transaction_with_invalid_timestamp #512

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SonMinWoo
Copy link
Contributor

issue #345
Test the case where the Delegate extra-agenda transaction is invalid because the timestamp is invalid.

Question!
I implemented that last extra agenda timestamp is bigger than origin timestamp, but unit test error occured.
Please teach me why the error occurs.

@SonMinWoo SonMinWoo self-assigned this Aug 30, 2023
Copy link
Contributor

@TomTaehoonKim TomTaehoonKim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Else, looks good to me!

// delegator: member-0, delegatee: member-1
let delegator = reserved_state.members[0].clone();
let valid_delegator_private_key = validator_keypair[0].1.clone();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Can you please remove this empty line for consistency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit complete!

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