Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
011bae31
Unverified
Commit
011bae31
authored
Jul 08, 2021
by
Michael Müller
Committed by
GitHub
Jul 08, 2021
Browse files
Add `ink-waterfall` to CI (#844)
parent
da5a1247
Pipeline
#146179
canceled with stages
in 10 minutes and 4 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.config/cargo_spellcheck.dic
View file @
011bae31
...
...
@@ -57,6 +57,9 @@ unordered
untyped
validator
variadic
metadata
timestamp
prepend
Django/S
IP/S
...
...
.gitlab-ci.yml
View file @
011bae31
...
...
@@ -9,6 +9,7 @@ stages:
-
check
-
workspace
-
examples
-
ink-waterfall
-
fuzz
-
publish
...
...
@@ -345,6 +346,20 @@ examples-docs:
cargo doc --manifest-path examples/delegator/${contract}/Cargo.toml --document-private-items --verbose --no-deps;
done
#### stage: ink-waterfall
ink-waterfall
:
stage
:
ink-waterfall
variables
:
UPSTREAM_PR_ID
:
$CI_COMMIT_REF_NAME
CI_IMAGE
:
"
paritytech/ink-waterfall-ci:latest"
trigger
:
project
:
parity/ink-waterfall
branch
:
master
strategy
:
depend
#### stage: publish
publish-docs
:
...
...
crates/env/src/types.rs
View file @
011bae31
...
...
@@ -77,7 +77,7 @@ pub trait Environment {
+
AsRef
<
[
u8
]
>
+
AsMut
<
[
u8
]
>
;
/// The type of timestamp
s
.
/// The type of
a
timestamp.
type
Timestamp
:
'static
+
scale
::
Codec
+
Copy
...
...
crates/lang/ir/src/ir/config.rs
View file @
011bae31
...
...
@@ -48,12 +48,12 @@ where
{
format_err!
(
snd
.span
(),
"encountered duplicate ink! `{}` config argument"
,
"encountered duplicate ink! `{}` config
uration
argument"
,
name
,
)
.into_combine
(
format_err!
(
fst
.span
(),
"first `{}` config argument here"
,
"first `{}` config
uration
argument here"
,
name
))
}
...
...
@@ -170,7 +170,7 @@ impl Default for Environment {
mod
tests
{
use
super
::
*
;
/// Asserts that the given input config attribute argument are converted
/// Asserts that the given input config
uration
attribute argument are converted
/// into the expected ink! configuration or yields the expected error message.
fn
assert_try_from
(
input
:
ast
::
AttributeArgs
,
...
...
@@ -273,7 +273,7 @@ mod tests {
env
=
::
my
::
env
::
Types
,
env
=
::
my
::
other
::
env
::
Types
,
},
Err
(
"encountered duplicate ink! `env` config argument"
),
Err
(
"encountered duplicate ink! `env` config
uration
argument"
),
);
}
}
Write
Preview
Supports
Markdown
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