Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
48771c85
Unverified
Commit
48771c85
authored
Apr 22, 2024
by
Adrian Sutton
Committed by
GitHub
Apr 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Clean up details in new abi_loader (#10238)
* Remove accidentally added find-version.sh * Close abi file
parent
38c2fa4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
find-version.sh
ops/scripts/find-version.sh
+0
-6
abi_loader.go
packages/contracts-bedrock/snapshots/abi_loader.go
+1
-0
No files found.
ops/scripts/find-version.sh
deleted
100755 → 0
View file @
38c2fa4e
#!/usr/bin/env bash
set
-euo
pipefail
NAME
=
${
1
:?Must
specify release name
}
git describe
--tags
--candidates
=
100
--match
=
"
${
NAME
}
/*"
|
sed
"s/
${
NAME
}
\/
//"
packages/contracts-bedrock/snapshots/abi_loader.go
View file @
48771c85
...
...
@@ -32,6 +32,7 @@ func loadABI(name string) (*abi.ABI, error) {
if
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"failed to load ABI for contract %v: %w"
,
name
,
err
)
}
defer
in
.
Close
()
if
parsed
,
err
:=
abi
.
JSON
(
in
);
err
!=
nil
{
return
nil
,
err
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment