Skip to content

Commit

Permalink
Merge pull request #41 from o1-labs/develop
Browse files Browse the repository at this point in the history
v0.1.9
  • Loading branch information
shimkiv authored Feb 3, 2024
2 parents a15bf00 + fdd9a12 commit 845da97
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 34 deletions.
64 changes: 31 additions & 33 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,12 @@ <h2 class="text-xl mb-2 border-b-2 border-base-100">
</thead>
<tbody>
{{#recentBlocks}}
{{^hasFailedTxn}}
<tr class="hover">
{{/hasFailedTxn}}
{{#hasFailedTxn}}
<tr class="!bg-red-600">
{{/hasFailedTxn}}
<td><div class="badge badge-ghost">{{dateView}}</div></td>
<td title="{{stateHash}}">
<div class="badge badge-primary badge-outline">
Expand All @@ -353,12 +358,7 @@ <h2 class="text-xl mb-2 border-b-2 border-base-100">
<div class="badge badge-ghost">{{commandTransactionCount}}</div>
{{/commandTransactionCount}}
{{#commandTransactionCount}}
{{^hasFailedTxn}}
<div class="badge badge-primary badge-outline">{{commandTransactionCount}}</div>
{{/hasFailedTxn}}
{{#hasFailedTxn}}
<div class="badge badge-error badge-outline">{{commandTransactionCount}}</div>
{{/hasFailedTxn}}
<div class="badge badge-primary badge-outline">{{commandTransactionCount}}</div>
{{/commandTransactionCount}}
</td>
</tr>
Expand Down Expand Up @@ -405,19 +405,18 @@ <h1 class="text-xl underline">{{header}}</h1>
</thead>
<tbody>
{{#valueTransfers}}
{{^failureReason}}
<tr class="hover">
{{/failureReason}}
{{#failureReason}}
<tr class="!bg-red-600">
{{/failureReason}}
<td title="{{hash}}">
{{^failureReason}}
<div class="badge badge-primary badge-outline">
<a class="link link-primary" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{/failureReason}}
{{#failureReason}}
<div class="badge badge-error badge-outline">
<a class="link link-error" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{/failureReason}}
{{hashView}}
</a>
</div>
<div class="badge badge-primary badge-outline">
<a class="link link-primary" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{hashView}}
</a>
</div>
</td>
<td title="{{feePayer.publicKey}}">
<div class="badge badge-secondary badge-outline">
Expand Down Expand Up @@ -476,19 +475,18 @@ <h1 class="text-xl underline">{{header}}</h1>
</thead>
<tbody>
{{#zkApps}}
{{^isFailedTxn}}
<tr class="hover">
{{/isFailedTxn}}
{{#isFailedTxn}}
<tr class="!bg-red-600">
{{/isFailedTxn}}
<td title="{{hash}}">
{{^isFailedTxn}}
<div class="badge badge-primary badge-outline">
<a class="link link-primary" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{/isFailedTxn}}
{{#isFailedTxn}}
<div class="badge badge-error badge-outline">
<a class="link link-error" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{/isFailedTxn}}
{{hashView}}
</a>
</div>
<div class="badge badge-primary badge-outline">
<a class="link link-primary" href="./index.html?target=transaction&hash={{hash}}" target="_self">
{{hashView}}
</a>
</div>
</td>
<td title="{{zkappCommand.feePayer.body.publicKey}}">
<div class="badge badge-secondary badge-outline">
Expand Down Expand Up @@ -1358,13 +1356,13 @@ <h1 class="text-2xl underline">Value transfer transaction details</h1>
<td><code class="text-success">{{txn.hash}}</code></td>
</tr>
{{#txn.failureReason}}
<tr class="hover">
<tr class="!bg-red-600">
<td>
<div class="badge badge-error badge-outline">
<div class="badge badge-primary badge-outline">
Failure reason
</div>
</td>
<td><code class="text-error">{{txn.failureReason}}</code></td>
<td><code class="text-primary">{{txn.failureReason}}</code></td>
</tr>
{{/txn.failureReason}}
{{#txn.blockHash}}
Expand Down Expand Up @@ -1486,9 +1484,9 @@ <h1 class="text-2xl underline">zkApp transaction details</h1>
<td><code class="text-success">{{txn.hash}}</code></td>
</tr>
{{#isFailedTxn}}
<tr class="hover">
<tr class="!bg-red-600">
<td>
<div class="badge badge-error badge-outline">
<div class="badge badge-primary badge-outline">
Failure reason
</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion js/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Update application version for every new release
const applicationVersion = "v0.1.8";
const applicationVersion = "v0.1.9";

const timeZoneOffset = new Date().getTimezoneOffset() * 60000;
const minaTokenId = "wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf";
Expand Down

0 comments on commit 845da97

Please sign in to comment.