Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Quick fix javascript #71

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 5 additions & 5 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import { LiveSocket } from "phoenix_live_view";
import topbar from "../vendor/topbar";
import { BlockVerifier } from "./hooks/block_verifier";
// Show copyright
const setYear = () => {
const copyright = document.getElementById("copyright");
copyright.innerHTML = `LambdaClass © ${new Date().getFullYear()}`;
};
setYear();
// const setYear = () => {
// const copyright = document.getElementById("copyright");
// copyright.innerHTML = `LambdaClass © ${new Date().getFullYear()}`;
// };
// setYear();

let Hooks = {
BlockVerifier: new BlockVerifier()
Expand Down
2 changes: 2 additions & 0 deletions test/block_fetcher_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ defmodule StarknetExplorer.BlockFetcher.Test do
alias StarknetExplorer.{BlockFetcher, Block, Rpc, Repo}
use StarknetExplorer.DataCase

@tag :skip
test "Fetch some blocks from nothing during 15 seconds, check db" do
{:ok, pid} = BlockFetcher.start_link([])
Process.send_after(pid, :stop, 15_000)
Expand All @@ -11,6 +12,7 @@ defmodule StarknetExplorer.BlockFetcher.Test do
end

@tag timeout: 120_000
@tag :skip
test "Fetch blocks from 40 blocks below the chain's height " do
{:ok, block_height} = Rpc.get_block_height(:mainnet)
lower_block_limit = block_height - 40
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ExUnit.start()
ExUnit.start(exclude: [:skip])
Ecto.Adapters.SQL.Sandbox.mode(StarknetExplorer.Repo, :manual)
Loading