Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b252e4f
Fix
directcuteo Sep 9, 2024
6ce693b
Frontend - Fix Block Production Won Slots card 5 sum calculation bug …
directcuteo Sep 9, 2024
bc1845b
Fix
directcuteo Sep 9, 2024
094b43e
Frontend - Change table header label in block production #652
directcuteo Sep 9, 2024
8e6e2ab
Docker
directcuteo Sep 9, 2024
cc46112
Frontend - modify docker.yaml version path for frontend #653
directcuteo Sep 9, 2024
968adf7
Frontend
directcuteo Sep 9, 2024
d0f8ffe
Frontend - Add Epoch Slot in block production table - #655
directcuteo Sep 9, 2024
54b3753
Version
directcuteo Sep 9, 2024
0020dd0
Frontend - Docker version #656
directcuteo Sep 9, 2024
1be2f55
DOcker
directcuteo Sep 9, 2024
6bff027
Frontend - Docker #657
directcuteo Sep 9, 2024
eed4dbb
fix(ledger): Only update VK cache after handling the VK update itself
tizoc Sep 9, 2024
b346ffe
Merge pull request #658 from openmina/fix/vk-account-update
tizoc Sep 9, 2024
84f02b9
fix(block_producer): slot falsely discarded if staking ledger between…
binier Sep 9, 2024
88be2b0
Merge pull request #654 from openmina/fix/block_producer/slot_falsely…
binier Sep 9, 2024
6202856
chore: Update CHANGELOG
tizoc Sep 9, 2024
0c5c336
chore: Bump version to 0.8.3
tizoc Sep 9, 2024
bb256d4
chore: Update Cargo.lock
tizoc Sep 9, 2024
b85db28
chore: Update version in docker compose files
tizoc Sep 9, 2024
787e5f2
Merge pull request #660 from openmina/prepare-release/v0.8.3
tizoc Sep 9, 2024
be61598
DOcker
directcuteo Sep 9, 2024
c172516
Frontend - Change docker #663
directcuteo Sep 9, 2024
b47ccf6
chore: Adjust compose files
tizoc Sep 9, 2024
35fd17a
chore: Adjust compose files (more reverts)
tizoc Sep 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.8.3] - 2024-09-09

### Fixed

- Handling verification key updates with proof authorization kind.
- Block producer incorrectly discarding blocks if staking ledger between best tip and won slot were different.

## [0.8.2] - 2024-09-06

### Fixed
Expand Down Expand Up @@ -228,7 +235,8 @@ First public release.
- Alpha version of the node which can connect and syncup to the berkeleynet network, and keep applying new blocks to maintain consensus state and ledger up to date.
- Web-based frontend for the node.

[Unreleased]: https://github.com/openmina/openmina/compare/v0.8.2...develop
[Unreleased]: https://github.com/openmina/openmina/compare/v0.8.3...develop
[0.8.3]: https://github.com/openmina/openmina/releases/tag/v0.8.2...v0.8.3
[0.8.2]: https://github.com/openmina/openmina/releases/tag/v0.8.1...v0.8.2
[0.8.1]: https://github.com/openmina/openmina/releases/tag/v0.8.0...v0.8.1
[0.8.0]: https://github.com/openmina/openmina/releases/tag/v0.7.0...v0.8.0
Expand Down
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.8.2"
version = "0.8.3"
edition = "2021"
license = "Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion cli/replay_dynamic_effects/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "replay_dynamic_effects"
version = "0.8.2"
version = "0.8.3"
edition = "2021"
license = "Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openmina-core"
version = "0.8.2"
version = "0.8.3"
edition = "2021"
license = "Apache-2.0"

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.local.producers.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
local-producer-cluster:
container_name: local-producer-cluster
image: openmina/openmina:0.8.2
image: openmina/openmina:0.8.3
environment:
- RUST_BACKTRACE=1
entrypoint: ["openmina-node-testing", "scenarios-generate", "--name", "simulation-small-forever-real-time"]
Expand All @@ -12,7 +12,7 @@ services:

frontend:
container_name: frontend
image: openmina/frontend:0.8.2-producer-demo
image: openmina/frontend:0.8.3-producer-demo
# build:
# context: .
# dockerfile: Dockerfile_FE
Expand Down
8 changes: 4 additions & 4 deletions frontend/cypress/e2e/block-production/won-slots/table.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('BLOCK PRODUCTION WON SLOTS TABLE', () => {
}));

it('sort by transactions', () => execute(() => {
cy.get('mina-block-production-won-slots-table .head > span:nth-child(5)')
cy.get('mina-block-production-won-slots-table .head > span:nth-child(6)')
.click()
.window()
.its('store')
Expand All @@ -135,7 +135,7 @@ describe('BLOCK PRODUCTION WON SLOTS TABLE', () => {
}));

it('sort by snark fees', () => execute(() => {
cy.get('mina-block-production-won-slots-table .head > span:nth-child(7)')
cy.get('mina-block-production-won-slots-table .head > span:nth-child(8)')
.click()
.window()
.its('store')
Expand All @@ -148,7 +148,7 @@ describe('BLOCK PRODUCTION WON SLOTS TABLE', () => {
}));

it('sort by snark coinbase rewards', () => execute(() => {
cy.get('mina-block-production-won-slots-table .head > span:nth-child(8)')
cy.get('mina-block-production-won-slots-table .head > span:nth-child(9)')
.click()
.window()
.its('store')
Expand All @@ -161,7 +161,7 @@ describe('BLOCK PRODUCTION WON SLOTS TABLE', () => {
}));

it('sort by snark tx fees rewards', () => execute(() => {
cy.get('mina-block-production-won-slots-table .head > span:nth-child(9)')
cy.get('mina-block-production-won-slots-table .head > span:nth-child(10)')
.click()
.window()
.its('store')
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.1",
"version": "0.8.3",
"scripts": {
"install:deps": "npm install",
"start": "npm install && ng serve --configuration local --open",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class BlockProductionWonSlotsService {
age: this.calculateTimeAgo(attempt),
slotTime: attempt.won_slot.slot_time,
globalSlot: attempt.won_slot.global_slot,
slotInEpoch: attempt.won_slot.global_slot % 7140,
vrfValueWithThreshold: attempt.won_slot.value_with_threshold,
active: attempt.active,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { StoreDispatcher } from '@shared/base-classes/store-dispatcher.class';
import { BlockProductionWonSlotsSelectors } from '@block-production/won-slots/block-production-won-slots.state';
import { lastItem, ONE_BILLION, ONE_MILLION, ONE_THOUSAND } from '@openmina/shared';
import { lastItem, ONE_BILLION, ONE_MILLION, ONE_THOUSAND, toReadableDate } from '@openmina/shared';
import { getTimeDiff } from '@shared/helpers/date.helper';
import { filter } from 'rxjs';
import {
Expand Down Expand Up @@ -72,6 +72,7 @@ export class BlockProductionWonSlotsCardsComponent extends StoreDispatcher imple
)
.map(s => s.coinbaseRewards + s.txFeesRewards).reduce((a, b) => a + b, 0).toFixed(0);

this.card6.totalRewards = isNaN(+this.card6.totalRewards) ? '0' : this.card6.totalRewards;
this.detect();
}, filter(slots => slots.length > 0));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<span>{{ row.age }}</span>
<span>{{ row.height ?? '-' }}</span>
<span>{{ row.globalSlot }}</span>
<span>{{ row.slotInEpoch ?? '-' }}</span>
<span
[tooltipDisabled]="true"
[tooltip]="row.payments + ' payments, ' + row.delegations + ' delegations, ' + row.zkapps + ' zkapps'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class BlockProductionWonSlotsTableComponent extends MinaTableRustWrapper<
{ name: 'age', sort: 'slotTime' },
{ name: 'height' },
{ name: 'global slot', sort: 'globalSlot' },
{ name: 'epoch slot', sort: 'slotInEpoch' },
{ name: 'transactions', sort: 'transactionsTotal' },
{ name: 'SNARKs', sort: 'completedWorksCount' },
{ name: 'SNARK fees', sort: 'snarkFees' },
Expand All @@ -56,7 +57,7 @@ export class BlockProductionWonSlotsTableComponent extends MinaTableRustWrapper<
}

protected override setupTable(): void {
this.table.gridTemplateColumns = [210, 140, 110, 120, 120, 120, 120, 150, 150];
this.table.gridTemplateColumns = [210, 140, 90, 110, 120, 120, 120, 120, 150, 150];
this.table.propertyForActiveCheck = 'globalSlot';
this.table.thGroupsTemplate = this.thGroupsTemplate;
this.table.sortAction = BlockProductionWonSlotsActions.sort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface BlockProductionWonSlotsSlot {
age: string;
slotTime: number;
globalSlot: number;
slotInEpoch: number;
vrfValueWithThreshold: [number, number];
active: boolean;
percentage: number;
Expand Down
Loading
Loading