Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
clive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
clive
Merge requests
!79
Wax integration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Wax integration
kmochocki/wax-integration
into
develop
Overview
7
Commits
18
Pipelines
25
Changes
51
Merged
Krzysztof Mochocki
requested to merge
kmochocki/wax-integration
into
develop
1 year ago
Overview
4
Commits
18
Pipelines
25
Changes
51
Expand
Integration with wax
requires:
hive!918 (closed)
0
0
Merge request reports
Compare
develop
version 22
f37335b9
1 year ago
version 21
8102a89a
1 year ago
version 20
34c274cd
1 year ago
version 19
c1b5c5ff
1 year ago
version 18
6cd5b72b
1 year ago
version 17
1c45d112
1 year ago
version 16
4f66eebe
1 year ago
version 15
a5f971fc
1 year ago
version 14
86615490
1 year ago
version 13
8e9ab3bf
1 year ago
version 12
e0cf63b0
1 year ago
version 11
3d0b40dd
1 year ago
version 10
4000ef18
1 year ago
version 9
2d348fbe
1 year ago
version 8
4000ef18
1 year ago
version 7
c54ffd85
1 year ago
version 6
045fa750
1 year ago
version 5
21d2b63e
1 year ago
version 4
a0c928db
1 year ago
version 3
e373799a
1 year ago
version 2
ee8c5ebd
1 year ago
version 1
1c860efc
1 year ago
develop (base)
and
latest version
latest version
044806bb
18 commits,
1 year ago
version 22
f37335b9
16 commits,
1 year ago
version 21
8102a89a
15 commits,
1 year ago
version 20
34c274cd
16 commits,
1 year ago
version 19
c1b5c5ff
16 commits,
1 year ago
version 18
6cd5b72b
16 commits,
1 year ago
version 17
1c45d112
14 commits,
1 year ago
version 16
4f66eebe
15 commits,
1 year ago
version 15
a5f971fc
14 commits,
1 year ago
version 14
86615490
13 commits,
1 year ago
version 13
8e9ab3bf
12 commits,
1 year ago
version 12
e0cf63b0
12 commits,
1 year ago
version 11
3d0b40dd
11 commits,
1 year ago
version 10
4000ef18
10 commits,
1 year ago
version 9
2d348fbe
11 commits,
1 year ago
version 8
4000ef18
10 commits,
1 year ago
version 7
c54ffd85
10 commits,
1 year ago
version 6
045fa750
9 commits,
1 year ago
version 5
21d2b63e
6 commits,
1 year ago
version 4
a0c928db
6 commits,
1 year ago
version 3
e373799a
6 commits,
1 year ago
version 2
ee8c5ebd
5 commits,
1 year ago
version 1
1c860efc
5 commits,
1 year ago
51 files
+
3166
−
411
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
51
Search (e.g. *.vue) (Ctrl+P)
clive/__private/cli/common.py
+
5
−
0
Options
@@ -6,6 +6,7 @@ import typer
from
merge_args
import
merge_args
# type: ignore
from
pydantic
import
BaseModel
from
clive.__private
import
config
from
clive.__private.core.world
import
World
from
clive.__private.util
import
ExitCallHandler
@@ -21,6 +22,7 @@ class Common(BaseModel):
sign
:
Optional
[
str
]
=
typer
.
Option
(
None
,
help
=
"
Key alias to sign the transaction with.
"
)
password
:
Optional
[
str
]
=
typer
.
Option
(
None
,
help
=
"
The password to use.
"
)
save_file
:
Optional
[
str
]
=
typer
.
Option
(
None
,
help
=
"
The file to save the transaction to.
"
)
chain_id
:
Optional
[
str
]
=
typer
.
Option
(
None
,
help
=
"
Chain id used for signatures
"
)
world
:
World
|
None
=
None
class
Config
:
@@ -39,9 +41,12 @@ def common_options(func: Callable[..., None]) -> Any:
profile
:
str
=
common
.
profile
,
password
:
Optional
[
str
]
=
common
.
password
,
# noqa: ARG001
save_file
:
Optional
[
str
]
=
common
.
save_file
,
# noqa: ARG001
chain_id
:
Optional
[
str
]
=
common
.
chain_id
,
**
kwargs
:
Any
,
)
->
None
:
with
ExitCallHandler
(
World
(
profile_name
=
profile
),
finally_callback
=
lambda
w
:
w
.
close
())
as
world
:
if
chain_id
is
not
None
:
config
.
settings
[
"
node.chain_id
"
]
=
chain_id
return
func
(
ctx
=
ctx
,
**
kwargs
,
world
=
world
)
return
wrapper
Loading