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

Fix kton staking v1 rewards distribution #21

Merged
merged 3 commits into from
Aug 26, 2024
Merged

Fix kton staking v1 rewards distribution #21

merged 3 commits into from
Aug 26, 2024

Conversation

hujw77
Copy link
Collaborator

@hujw77 hujw77 commented Aug 23, 2024

Issue fixed

  1. Fix KTON staking v1 interface.
  2. Distribute stuck rewards in RewardsDistribution v1.

Whitelist forward transact from KtonDAO on Crab and Darwinia

From: 0x08837De0Ae21C270383D9F2de4DB03c7b1314632
To: 0x8965bbE4F507712203a1adb6ad79c97A5B49B296
Data: 0x9623609d000000000000000000000000652182c6abc0bbe41b5702b05a26d109a405eaca000000000000000000000000c4784b3593ff0ace8773ec79ef4f8d8901a8dcfc000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000045cd8a76b00000000000000000000000000000000000000000000000000000000

Data encode

seth calldata "upgradeAndCall(address,address,bytes)" 0x652182C6aBc0bBE41b5702b05a26d109A405EAcA 0xC4784B3593fF0ace8773ec79EF4F8D8901a8DCfC 0x5cd8a76b

This reverts commit 77a56cb.
@hujw77
Copy link
Collaborator Author

hujw77 commented Aug 23, 2024

Crab migration tx

https://crab-scan.darwinia.network/tx/0x2a2c018436ea89c6e4db264ab400183c904d7a742b669e6e760d27c66b3c83cf?tab=index

@hujw77
Copy link
Collaborator Author

hujw77 commented Aug 23, 2024

Darwinia migration tx

https://explorer.darwinia.network/tx/0x4b6a6bd1f684cc1503d745e26335100ae0a3292788daac9d028e4073f45609b1

@hujw77 hujw77 merged commit 1cb9db0 into main Aug 26, 2024
1 check failed
@hujw77 hujw77 deleted the fix-staking-v1 branch August 26, 2024 01:29
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.

1 participant