Skip to content

Conversation

@bleepbloopsify
Copy link
Contributor

title, this branch is temporary and meant to demonstrate the minimal subset of changes that need to happen to get a green build on o1js with mesa.

We're using:

mina#mesa
and
proof-systems#0.2.0

With a custom branch splicing the two together.

Comment on lines -563 to -566
setFeePerSnarkCost(newFeePerSnarkCost: number) {
let { totalTimeRequired } = getTotalTimeRequired(transaction.accountUpdates);
return this.setFee(new UInt64(Math.round(totalTimeRequired * newFeePerSnarkCost)));
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Trivo25 Is it alright if I completely drop this function?

I'm afraid some people might be using it, but because we drop the concept of "snark cost" in the hard fork, supporting this is pretty impossible without it becoming a no-op.

I'd prefer for this to be a breaking change over a non-breaking one (maybe this is where changelog would be appropriate)

@bleepbloopsify
Copy link
Contributor Author

This also fixes: o1-labs/mina-rust#1676

@bleepbloopsify bleepbloopsify force-pushed the leon/develop-3.0/must-work branch from b47a1fa to 3808513 Compare December 3, 2025 15:35
@bleepbloopsify
Copy link
Contributor Author

CI is broken because this PR is missing from mina

MinaProtocol/mina#18034

We reconfigured proof-systems to work properly, but now we aren't building it properly in mina for wasm because we're not including the proper configs because of dune

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.

2 participants