Commit c4fc1b9
Add validator_weight and delegation_fee to P-Chain staking operation metadata (#249)
* adding validator_weight field to P-chain staking operation metadata
* adding delegation_fee to REWARD_VALIDATOR operation
* add missing fields to tests
* fix: Update golangci-lint config for v1.62+ compatibility
Updated .golangci.yml to be compatible with golangci-lint v1.62+:
- Removed deprecated skip-dirs-use-default field
- Updated forbidigo config to use new structured format (p/msg)
- Changed exclude_godoc_examples to exclude-godoc-examples (hyphenated)
This fixes the CI linting failures without changing any linting rules.
---------
Signed-off-by: Raj Ranjan <rranjan01234@gmail.com>
Co-authored-by: Raj Ranjan <rranjan01234@gmail.com>1 parent b562afb commit c4fc1b9
File tree
4 files changed
+30
-0
lines changed- mapper/pchain
- service/backend/pchain
4 files changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
393 | 401 | | |
394 | 402 | | |
395 | 403 | | |
| |||
402 | 410 | | |
403 | 411 | | |
404 | 412 | | |
| 413 | + | |
405 | 414 | | |
406 | 415 | | |
407 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
212 | 222 | | |
213 | 223 | | |
214 | 224 | | |
| |||
262 | 272 | | |
263 | 273 | | |
264 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
265 | 278 | | |
266 | 279 | | |
267 | 280 | | |
| |||
314 | 327 | | |
315 | 328 | | |
316 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
317 | 333 | | |
318 | 334 | | |
319 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
| 597 | + | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
| |||
839 | 841 | | |
840 | 842 | | |
841 | 843 | | |
| 844 | + | |
842 | 845 | | |
843 | 846 | | |
844 | 847 | | |
| |||
0 commit comments