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: update mainsail dependencies to latest version #115

Merged

Conversation

goga-m
Copy link
Contributor

@goga-m goga-m commented Nov 18, 2024

@github-actions github-actions bot added the chore label Nov 18, 2024
@goga-m goga-m marked this pull request as ready for review November 18, 2024 15:42
@goga-m goga-m changed the title chore: update mainsail validations version chore: update mainsail dependencies to latest version Nov 18, 2024
@goga-m
Copy link
Contributor Author

goga-m commented Nov 18, 2024

Moving it to draft as some type mismatches appeared with evm.8 https://github.com/ArdentHQ/platform-sdk/actions/runs/11896229224/job/33147649232?pr=115#step:5:1521 will investigate and re-open the PR

@goga-m goga-m marked this pull request as draft November 18, 2024 16:06
Comment on lines -41 to +40
if (!transaction.signatures) {
transaction.signatures = [];
}

index = index === -1 ? transaction.signatures.length : index;

const signature: string = Hash.signSchnorr(hash, keys);
const indexedSignature = `${numberToHex(index)}${signature}`;
transaction.signatures.push(indexedSignature);

return indexedSignature;
throw new Error("Not implemented.");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

signatures do not exist in evm.8. As this is only for musig, we can rewrite the implementation in the future when we will support it.

@goga-m goga-m marked this pull request as ready for review November 18, 2024 16:12
@ItsANameToo ItsANameToo merged commit 3800c88 into feat/mainsail-evm Nov 19, 2024
2 checks passed
@ItsANameToo ItsANameToo deleted the fix/update-mainsail-validations-version branch November 19, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants