Skip to content

Commit eb5011f

Browse files
authored
Merge pull request #275 from qubic/merge/main-into-dev
chore: merge main into dev (v4.26.2 hotfix)
2 parents 6148d1f + 8a22874 commit eb5011f

6 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/workflows/commitlint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
- name: Install dependencies
3030
run: yarn install --frozen-lockfile
3131

32-
- name: Install commitlint
33-
run: |
34-
yarn add conventional-changelog-conventionalcommits
35-
yarn add commitlint@20.5.3
36-
3732
- name: Validate current commit (last commit) with commitlint
3833
if: github.event_name == 'push'
3934
run: npx commitlint --last --verbose

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [4.26.2](https://github.com/qubic/wallet/compare/v4.26.1...v4.26.2) (2026-06-17)
2+
3+
4+
### Bug Fixes
5+
6+
* source QEarn current epoch from live tick-info instead of archiver last-processed tick ([70de123](https://github.com/qubic/wallet/commit/70de123ad9f4b111de5cad72080684f210f526b7))
7+
18
## [4.26.1](https://github.com/qubic/wallet/compare/v4.26.0...v4.26.1) (2026-04-30)
29

310

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qubic-wallet",
3-
"version": "4.26.1",
3+
"version": "4.26.2",
44
"main": "app.js",
55
"author": "qubic",
66
"description": "Qubic - Wallet - Send Qu's around the globe.",

src/app/qearn/qearn.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';
2-
import { ApiQueryService } from '../services/apis/query/api.query.service';
2+
import { ApiLiveService } from '../services/apis/live/api.live.service';
33
import { WalletService } from '../services/wallet.service';
44
import { QearnService } from '../services/qearn.service';
55
import { PublicKey } from '@qubic-lib/qubic-ts-library/dist/qubic-types/PublicKey';
@@ -19,19 +19,19 @@ export class QearnComponent implements OnInit, OnDestroy {
1919
private unsubscribe$ = new Subject<void>();
2020

2121
@ViewChild('tabGroup') tabGroup!: MatTabGroup;
22-
constructor(public qearnService: QearnService, private walletService: WalletService, private apiQuery: ApiQueryService, private us: UpdaterService) {}
22+
constructor(public qearnService: QearnService, private walletService: WalletService, private apiLiveService: ApiLiveService, private us: UpdaterService) {}
2323

2424
async ngOnInit() {
2525
// Update the current balance
2626
this.us.loadCurrentBalance();
2727

2828
// Fetching Lock Info and Stake Data
29-
this.apiQuery
30-
.getLastProcessedTick()
29+
this.apiLiveService
30+
.getTickInfo()
3131
.pipe(takeUntil(this.unsubscribe$))
3232
.subscribe(async (res) => {
3333
try {
34-
this.epoch = res.epoch;
34+
this.epoch = res.tickInfo.epoch;
3535
this.qearnService.epochInfo$.pipe(takeUntil(this.unsubscribe$)).subscribe((epochInfos) => {
3636
const epochInfo = epochInfos[this.epoch];
3737
this.currentLockedAmount = epochInfo?.currentLockedAmount || 0;

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const environment = {
2-
version: '4.26.1',
2+
version: '4.26.2',
33
production: true,
44
apiUrl: 'https://rpc.qubic.org',
55
staticApiUrl: 'https://static.qubic.org',

src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const environment = {
2-
version: '4.26.1',
2+
version: '4.26.2',
33
production: false,
44
apiUrl: 'http://localhost:7004',
55
staticApiUrl: 'https://static.qubic.org',

0 commit comments

Comments
 (0)