Skip to content

Commit 90a5db6

Browse files
committed
fix: correctly parse value from block
1 parent c195b26 commit 90a5db6

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
# Pattern matched against refs/tags
44
tags:
5-
- '*' # Push events to every tag not containing /
5+
- '*' # Push events to every tag not containing /
66
name: Create Release Binaries
77
jobs:
88
generate:
@@ -26,7 +26,7 @@ jobs:
2626
id: github_release
2727
uses: mikepenz/release-changelog-builder-action@v3
2828
with:
29-
configuration: ".github/workflows/configuration.json"
29+
configuration: '.github/workflows/configuration.json'
3030
commitMode: true
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kyve/cosmos",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"license": "MIT",
55
"scripts": {
66
"build": "rimraf dist && tsc",

src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class Cosmos implements IRuntime {
2727
}
2828

2929
public async formatValue(value: any): Promise<string> {
30-
return value.hash;
30+
return value.header.time;
3131
}
3232

3333
private async generateCoinbaseCloudHeaders(core: Node): Promise<any> {

yarn.lock

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,10 @@
540540
big-integer "^1.6.48"
541541
utility-types "^3.10.0"
542542

543-
"@kyve/core@1.3.0":
544-
version "1.3.0"
545-
resolved "https://registry.yarnpkg.com/@kyve/core/-/core-1.3.0.tgz#86d55df3172cdd9026833625e9d16c22729bde02"
546-
integrity sha512-s0CnZkuQYT7YXy0/AUMgxecdDWEVyM3WGJPHSXATrwg5b/P+kU5EmJ6Xg+bx9tiKkZbeVjvq7+D2eps65ucXZg==
543+
"@kyve/core@1.3.5":
544+
version "1.3.5"
545+
resolved "https://registry.yarnpkg.com/@kyve/core/-/core-1.3.5.tgz#eee18ac180780402755c3ff0f5cc7b3b4815d306"
546+
integrity sha512-8EbwMnmSnA22q67e9MSJ9Tlsqkx29xKVR8qRV6KN5NhXnrrwy8XMpKzqUcbv5pnTPhNsCzmjWVWmUvLlxJDCXQ==
547547
dependencies:
548548
"@cosmjs/proto-signing" "^0.27.1"
549549
"@cosmjs/stargate" "^0.27.1"
@@ -558,7 +558,6 @@
558558
commander "^8.3.0"
559559
fs-extra "^10.0.1"
560560
jsonfile "^6.1.0"
561-
object-hash "^2.2.0"
562561
prando "^6.0.1"
563562
prom-client "^14.0.1"
564563
protobufjs "^6.11.2"
@@ -2014,11 +2013,6 @@ object-hash@^1.3.1:
20142013
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df"
20152014
integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==
20162015

2017-
object-hash@^2.2.0:
2018-
version "2.2.0"
2019-
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5"
2020-
integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==
2021-
20222016
object-inspect@^1.12.0, object-inspect@^1.9.0:
20232017
version "1.12.2"
20242018
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea"

0 commit comments

Comments
 (0)