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

migrate EIP 4844 #27

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

nadtech-hub
Copy link

@nadtech-hub nadtech-hub commented Jan 5, 2025

Motivation

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Sorry, something went wrong.

@nadtech-hub nadtech-hub changed the title Nadtech/migrate eip4844 migrate EIP 4844 Jan 5, 2025
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

good start and I'm supportive

there are a few smol things we still need to do like no-std

@@ -0,0 +1,48 @@

Copy link
Member

Choose a reason for hiding this comment

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

this crate can disable std, see

#![cfg_attr(not(feature = "std"), no_std)]

Copy link
Author

@nadtech-hub nadtech-hub Jan 8, 2025

Choose a reason for hiding this comment

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

i wonder, in what cases it could be disabled

@nadtech-hub
Copy link
Author

overall, It needs improvements

Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
@nadtech-hub nadtech-hub force-pushed the nadtech/migrate-eip4844 branch from c30adb9 to 73e4084 Compare January 8, 2025 23:29
@nadtech-hub nadtech-hub requested a review from mattsse January 8, 2025 23:29

/// KZG settings.
#[derive(Clone, Debug, Default, Eq)]
pub enum EnvKzgSettings {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Default kzg settup can be found in c-kzg lib behind ethereum_kzg_settings features, this would slim down this PR by a lot.

It is a function c_kzg::ethereum_kzg_settings()

Copy link
Author

@nadtech-hub nadtech-hub Feb 20, 2025

Choose a reason for hiding this comment

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

you meant that enum's Default option can be remove, correct?

Copy link
Author

Choose a reason for hiding this comment

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

@mattsse removing functionality from here is breaking change. shall I remove anything from env_settings?

@nadtech-hub nadtech-hub requested a review from rakita February 26, 2025 23:47
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.

None yet

3 participants