Skip to content

S U I #4549

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

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

S U I #4549

wants to merge 78 commits into from

Conversation

aeryz
Copy link
Contributor

@aeryz aeryz commented May 13, 2025

No description provided.

Copy link

vercel bot commented May 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
site ⬜️ Ignored (Inspect) Visit Preview May 30, 2025 2:21pm

@aeryz aeryz force-pushed the sui-stuff branch 3 times, most recently from 87a9b7e to b08897e Compare May 19, 2025 19:06
@aeryz aeryz marked this pull request as ready for review May 19, 2025 19:06
@aeryz aeryz requested a review from benluelo as a code owner May 19, 2025 19:06
@aeryz aeryz requested a review from hussein-aitlahcen as a code owner May 21, 2025 11:14
benluelo and others added 22 commits May 30, 2025 16:09
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
aeryz and others added 24 commits May 30, 2025 16:14
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Caglankaan and others added 4 commits May 30, 2025 16:56
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Signed-off-by: Kaan Caglan <caglankaan@gmail.com>
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
"voyager/modules/client/trusted-mpt",

"voyager/modules/client-bootstrap/bob",
# "voyager/modules/client-bootstrap/bob",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

uncomment


"voyager/plugins/client-update/bob",
# "voyager/plugins/client-update/bob",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

uncomment

@@ -210,7 +210,7 @@ func ExampleProveCmd() *cobra.Command {
},
}

res, err := client.Prove(ctx, &req)
res, err := client.ProveBls12381(ctx, &req)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

make this support both

@@ -16,7 +16,7 @@ func QueryStats() *cobra.Command {
Use: "query-stats [uri]",
Args: cobra.ExactArgs(1),
RunE: MakeCobra(func(ctx context.Context, client provergrpc.UnionProverAPIClient, cmd *cobra.Command, args []string) error {
res, err := client.QueryStats(ctx, &provergrpc.QueryStatsRequest{})
res, err := client.QueryStatsBls12381(ctx, &provergrpc.QueryStatsRequest{})
Copy link
Contributor Author

Choose a reason for hiding this comment

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

make this support both

@@ -152,7 +152,8 @@ replace (
replace (
github.com/cometbft/cometbft => github.com/unionlabs/cometbls v0.0.0-20241021101406-df0586cc2041
github.com/cometbft/cometbft/api => github.com/unionlabs/cometbls/api v0.0.0-20241021101406-df0586cc2041
github.com/consensys/gnark => github.com/unionlabs/gnark v0.0.0-20240723153903-9d859afe4c14
// github.com/consensys/gnark => github.com/unionlabs/gnark v0.0.0-20240723153903-9d859afe4c14
Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove

ucs03-zkgm = { workspace = true, features = ["library"] }
unionlabs = { workspace = true }
voyager-sdk = { workspace = true }
voyager-vm = { workspace = true }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no


#[tokio::main(flavor = "multi_thread")]
async fn main() {
// let sui_client = SuiClientBuilder::default()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove


let mut bytecode = TOKEN_BYTECODE[0].to_vec();
bytecode.extend_from_slice(&hex!(
"0000000000000000000000000000000000000000000000000000000000000001"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this has to be the decimal value

.next()
.expect("sender has a gas token");

let gas_budget = 200_000_000; //TODO: change it later
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this has to be configurable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

or maybe calculate idk?

panic!("invalid port id");
}

let upgrade_cap_address: SuiAddress = module_info[2].parse().unwrap();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no more

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.

3 participants