d0cd

Results 66 comments of d0cd

Implemented by #2178, #2262, #2180, #2179.

Closing since constant folding has been implemented by #2606

Certain cast operations are supported. Currently only between `groups`, `addresses`, and `fields` (can downcast to smaller types). Other operations still need to be supported by snarkVM.

@Halimao would mind fixing the build and conflict? We'll push the PR through afterwords

Leo should account for duplicate outputs with sufficient compiler warnings. Or code generation should be modified to handle duplicate outputs. For example, performing identity operations on numeric values and re-initializing...

@lildude This PR is outdated, please feel free to close at your convenience. For reference, the correct PRs are here: - https://github.com/github-linguist/linguist/pull/6970 - https://github.com/github-linguist/linguist/pull/6969

We could consider adding a delay before commission rates are updated to mitigate malicious rate hikes.

Benchmarked `atomic_post_ratify` with these changes. No significant perf impact. ``` DB: `atomic_post_ratify` with 0 delegators and 200 validators time: [22.330 ms 22.696 ms 22.974 ms] DB: `atomic_post_ratify` with 1000 delegators...

On #2, does the `BLOCK_SPEND_LIMIT` address the flood case? The total spent in a block is the sum of the cost of the accepted and rejected executions. If an execution's...

While the observation is correct, this is not a bug. After mainnet launch and if the need arises, the validators/governance process can revisit adjusting these values to achieve the desired...