Skip to content

Simplify some code in transaction execution#72

Open
metaproph3t wants to merge 1 commit into
coral-xyz:masterfrom
metaproph3t:optimize-signer-setting
Open

Simplify some code in transaction execution#72
metaproph3t wants to merge 1 commit into
coral-xyz:masterfrom
metaproph3t:optimize-signer-setting

Conversation

@metaproph3t

Copy link
Copy Markdown

Hello, if anyone's out there 👋

I'm not sure if anyone uses this repo in production but it still seems like a repo that people use to learn Anchor, judging by the 100 forks and my own personal experience.

Case in point, I'm working on a timelock program & ended up re-using a lot of the code from this repo. When I was looking at this part of it though, I realized that you could accomplish this in a way that was more simple and efficient. I've measured it and it removes 285 CUs in these tests.

I think this provides pedagogical value even if this repo isn't being used in prod.

Hello, if anyone's out there 👋

I'm not sure if anyone uses this repo in production but it still seems
like a repo that people use to learn Anchor, judging by the 100 forks
and my own personal experience.

Case in point, I'm working on a timelock program & ended up re-using a
lot of the code from this repo. When I was looking at this part of it
though, I realized that you could accomplish this in a way that was more
simple and efficient. I've measured it and it removes 285 CUs in these
tests.

I think this provides pedagogical value even if this repo isn't being
used in prod.
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