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

feat: getting rid of json serialization and near_sdk #13

Merged
merged 8 commits into from
Mar 25, 2024
Merged

Conversation

aleksuss
Copy link
Member

No description provided.

factory/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@birchmd birchmd left a comment

Choose a reason for hiding this comment

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

Nice work!

There is clearly a lot of duplicated code here from aurora-engine-sdk, but I understand it must be duplicated because the goal here is to avoid dynamic memory allocation. I wonder if it would be worth-while in the future to refactor aurora-engine-sdk into a more generally reusable library which could be used in as an alternative to near-sdk. Such refactoring could include an alloc feature flag which controls whether to use dynamic allocation or not,

forwarder/Cargo.toml Outdated Show resolved Hide resolved
@aleksuss
Copy link
Member Author

@birchmd thanks for your review. Yes. It's a really good point that all this stuff should be moved to the aurora-engine-sdk. I also thought about that 👍🏻

Copy link
Contributor

@raventid raventid left a comment

Choose a reason for hiding this comment

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

Overall, cannot contribute many suggestions, LGTM ❤️

forwarder/src/runtime/io.rs Show resolved Hide resolved
@aleksuss aleksuss merged commit 216c49f into main Mar 25, 2024
3 checks passed
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.

4 participants