Skip to content

Commit ce38f82

Browse files
committed
upgrade repo to 0.14.0
Signed-off-by: Guillaume Ballet <[email protected]>
1 parent 32ff91d commit ce38f82

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

build.zig.zon

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
.{
2-
.name = "phant",
2+
.fingerprint = 0x24619a25c388c236,
3+
.name = .phant,
34
.version = "0.0.1-beta-0",
45
.dependencies = .{
5-
.@"zig-rlp" = .{
6-
.url = "https://github.com/gballet/zig-rlp/archive/refs/tags/v0.1.1-beta7.tar.gz",
7-
.hash = "12201b3645a414dffc2bca872a1467b549d0029b9e36c80fcaeb22a06ec27fab9aee",
8-
},
9-
.@"zig-eth-secp256k1" = .{
10-
.url = "https://github.com/jsign/zig-eth-secp256k1/archive/95b7f93.tar.gz",
11-
.hash = "1220c0cf921a5311489bdd6eaf2f2b82bc9245ba39c2da346039aa311e28db633828",
6+
.rlp = .{
7+
.url = "https://github.com/gballet/zig-rlp/archive/v0.1.1-beta-8.tar.gz",
8+
.hash = "rlp-0.1.0-7i0JtBGSAACU44qijBzojQzyn2kLZ-wnIn5qOJxpWnky",
129
},
1310
.httpz = .{
14-
.url = "https://github.com/karlseguin/http.zig/archive/c224ebb.tar.gz",
15-
.hash = "12206297df84406cd4eed306acef30eb2a1a6a18b6771ebb4920391a3a7299b2e6a7",
11+
.url = "https://github.com/karlseguin/http.zig/archive/46753ab.tar.gz",
12+
.hash = "12207dbe64a04fb960156cbc990153cb3637a08e3fe23077c7199621b5c6377f5d20",
1613
},
1714
.zigcli = .{
1815
.url = "https://github.com/jiacai2050/zigcli/archive/54d095c.tar.gz",
1916
.hash = "1220e8fb37224ab6ee9c575129594a808643b548596d63dd8b87cb42e22a7eed9f51",
2017
},
18+
.zig_eth_secp256k1 = .{
19+
.url = "https://github.com/gballet/zig-eth-secp256k1/archive/upgrade-to-0.14.0.tar.gz",
20+
.hash = "zig_eth_secp256k1-0.1.0-_U97sGzoDAAuzO5WEYqKKaGiJAmTNq99mPCh0JdsNWY3",
21+
},
2122
},
2223
.paths = .{""},
2324
}

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub fn main() !void {
140140
};
141141
var blockchain = try Blockchain.init(allocator, config.chainId, &statedb, parent_header, try Fork.frontier.newFrontierFork(allocator));
142142

143-
var engine_api_server = try httpz.ServerApp(*Blockchain).init(allocator, .{
143+
var engine_api_server = try httpz.Server(*Blockchain).init(allocator, .{
144144
.port = port,
145145
}, &blockchain);
146146
var router = engine_api_server.router();

0 commit comments

Comments
 (0)