arkavo-org / arkavo-org/arkavo-node

Implement Comprehensive Benchmarking for Runtime Extrinsics

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Overview
Implement proper benchmarking for all runtime extrinsics to ensure accurate transaction fee calculation.

## Background
Benchmarking files exist (`node/src/benchmarking.rs`, `runtime/src/benchmarks.rs`) but contain minimal implementation. Without proper benchmarks, transaction fees may be incorrectly calculated, leading to potential DoS vectors or unfair pricing.

## Tasks
- [ ] Implement benchmarks for all runtime extrinsics
- [ ] Add benchmarks for contract calls
- [ ] Run benchmarks on target hardware
- [ ] Update weight calculations based on benchmark results
- [ ] Document benchmarking procedures
- [ ] Set up automated benchmark regression tests

## Related
- Code review finding: M5

## Priority
MAJOR - Required for accurate fee calculation

## Estimated Effort
3-5 days

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading node/src/benchmarking.rs and runtime/src/benchmarks.rs to inventory the existing minimal coverage and determine which runtime extrinsics and contract calls are missing. Run the available benchmarks on target hardware, then use the results to update weights; completion also requires documented procedures and automated regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.