Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to polkadot-v0.9.37 #5

Open
wants to merge 551 commits into
base: subsocial/staking
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
551 commits
Select commit Hold shift + click to select a range
7348df2
Added tests for standard eth RPC methods (#1949)
timbrinded Nov 21, 2022
ae8f73e
bump client and runtime versions (#1910)
librelois Nov 22, 2022
dd24953
Fix CI for external pr (#1963)
librelois Nov 22, 2022
3bdd08e
Fixing type errors on new pkgs (#1964)
timbrinded Nov 22, 2022
d241f81
New smoke tests for detecting XCM and ETH failures (#1955)
timbrinded Nov 24, 2022
a202d95
update sha3 and libsecp256k1 dependencies (#1959)
koushiro Nov 25, 2022
79843e1
fix(ci): job prepare-polkadot must never be skipped (#1967)
librelois Nov 25, 2022
621220f
Moonbeam polkadot v0.9.32 (#1933)
girazoki Nov 28, 2022
6febfea
fix workflow check features (#1970)
librelois Nov 28, 2022
682fe03
Upgrade typescript API for runtime 2000 (#1938)
github-actions[bot] Nov 28, 2022
f96bf5a
Added preimage bal check for staging (#1968)
timbrinded Nov 29, 2022
1be7224
fix tracing tests (#1971)
librelois Nov 29, 2022
8c57cce
Add base deposit to pallet-preimages (#1976)
librelois Nov 29, 2022
c27407a
Included XCM originated calls for eth smoke tests (#1977)
timbrinded Nov 29, 2022
920bfb0
upgrade srtool (#1978)
librelois Nov 29, 2022
3e1bcde
Remove test for too expensive, as it is quite a common error (#1979)
girazoki Nov 30, 2022
21b67a2
Cherry-pick Frontier 892 and 898 (#1974)
notlesh Nov 30, 2022
137d5c0
Fixes smoke tests for weight v2 (#1980)
Dec 1, 2022
4dd8f11
Additionnal fixes for smoke tests with Weight v2 (#1983)
Dec 1, 2022
7bf8db8
terminal snippet must be tagged as text (#1985)
nanocryk Dec 1, 2022
de9821c
Update bootnodes (#1984)
purestakeoskar Dec 1, 2022
362a189
Add XCM smoke tests for Foreign chains (#1987)
timbrinded Dec 5, 2022
6aa492b
Adapt smoke test to at stake (#1990)
girazoki Dec 5, 2022
7e0e865
impl ed25519 backward compatibility (#1982)
librelois Dec 6, 2022
2e39b3b
Update frontier `3568a86` (#1988)
tgmichel Dec 7, 2022
e8e0a8c
Fix `eth-fee-history` ts tests (#1989)
tgmichel Dec 7, 2022
7169016
fix rust docs generation (#1991)
librelois Dec 7, 2022
ae5a646
Defer first deferred staking payout (#1855)
librelois Dec 7, 2022
f9421f7
add launch config for client v0.28.0 (#1994)
librelois Dec 8, 2022
0b3294f
add some points in runtime release check list (#1992)
librelois Dec 8, 2022
34cb514
Take into account orbiter event (#1993)
girazoki Dec 8, 2022
023c025
Unify precompiles mock accounts (#1953)
nanocryk Dec 8, 2022
53dad79
Derive `TypeInfo` for `EthereumSigner` (#1969)
jiguantong Dec 8, 2022
23fe161
Remove `pallet-base-fee` (#1986)
tgmichel Dec 9, 2022
85771c6
Downgrade ed25519 (#1998)
girazoki Dec 12, 2022
a211fb5
CENTS in Kusama are now 1e12/3000 (#2004)
girazoki Dec 13, 2022
580a3ef
Add Ethereum block tag para-test (#1831)
tgmichel Dec 13, 2022
8aaaea8
[MOON-1989] Randomness precompile unit tests (#2003)
4meta5 Dec 14, 2022
74e4630
doc: update RELEASE.md (#1163)
librelois Dec 14, 2022
7c51c80
replace config associated types in tests with normal constants (#2002)
4meta5 Dec 15, 2022
cbf581e
Append non-supported parachain-id flag to be able to run multi-parach…
girazoki Dec 15, 2022
96401e8
Girazoki add ed25519 version breaking check (#2000)
girazoki Dec 16, 2022
fb1c2fa
Fixes orbiter reward smoke test (#2007)
girazoki Dec 18, 2022
0b22d93
add staking docs to scheduled requests (#1960)
nbaztec Dec 19, 2022
ce65e06
Remove RT-check from staking rewards smoke test (#2009)
nbaztec Dec 19, 2022
4d2ddcf
Bump RT to 2100 and Client to v0.29.0 (#2008)
Dec 19, 2022
d505ffc
smoke test staking rewards - revert check (#2011)
nbaztec Dec 19, 2022
1a2976a
fix staking benchmarks tests (#1952)
nbaztec Dec 20, 2022
b917fa7
Derive AccountId20 from keccak digest directly (#1870)
conr2d Dec 20, 2022
2c7c152
[MOON-1812] attempt using pallet_randomness for auth_slot_filter (#1956)
nbaztec Dec 21, 2022
214154d
Add GH action to check reentrancy feature (#2015)
tgmichel Dec 21, 2022
bd9d557
Add owner admin frezer issuer accessors to assets precompile (#2012)
girazoki Dec 23, 2022
2b38cc5
staking smoke test - fix computing outstanding revokes (#2019)
nbaztec Dec 24, 2022
c0f3966
staking smoke test - fix checking outstanding revokes (#2020)
nbaztec Dec 25, 2022
7e9797c
detect dev mode with chain type (#2013)
librelois Dec 28, 2022
a2a6b0c
Improve client release issue (#2014)
librelois Dec 28, 2022
3661be6
allow isProxy to be called by smart contracts (#2018)
nanocryk Jan 3, 2023
8a62e0b
Fix XCM Failures Smoke test (#2025)
timbrinded Jan 3, 2023
6bd6779
add uniqueness note to randomness.sol salt parameter (#2016)
nbaztec Jan 3, 2023
c71b438
Account for early-exit weight in pay_one_collator_reward (#1954)
notlesh Jan 3, 2023
a58498c
[MOON-1099] Staking precompile delegation amount getter (#2005)
4meta5 Jan 4, 2023
82840d8
Added new moon RPC ts-tests (#2030)
timbrinded Jan 5, 2023
ce967d6
introduce breaking and not-breaking label check (#2029)
nbaztec Jan 5, 2023
ca5223a
Improves PERF documentation (#2032)
Jan 9, 2023
96fd737
Debug build improvements (#2035)
notlesh Jan 9, 2023
4fed3e0
xcm utils precompile improvements: Send and Execute in Moonbase (#1785)
girazoki Jan 10, 2023
bb7ce1a
Skip xcm and user transactions during migrations (#2006)
librelois Jan 10, 2023
6924ede
Staking precompile: getDelegatorTotalStaked and getCandidateTotalBack…
nanocryk Jan 11, 2023
856f818
Add proxy method for proxy precompile (moonbase only) (#2022)
librelois Jan 11, 2023
761c992
clean old migrations (#2021)
librelois Jan 12, 2023
89dd0d9
Staking precompile: candidateAutoCompoundingDelegationCount (#2037)
nanocryk Jan 13, 2023
8c152ed
Fixes balance smoke test (#2040)
Jan 13, 2023
0838a96
patch evm version (#2026)
nanocryk Jan 16, 2023
44508cd
Update eth contract code smoke test (#2043)
timbrinded Jan 17, 2023
b65fa81
Adds OpenGov to Moonriver (#2041)
Jan 17, 2023
876b5b0
Girazoki hrmp general admin track manipulator (#2010)
girazoki Jan 17, 2023
51adcd1
Adds GeneralAdmin as Origin of multiple extrinsics (#2044)
Jan 17, 2023
24fddc3
Added relay smoke tests (#2039)
timbrinded Jan 17, 2023
f90be04
Use `transaction-payment`'s congestion modifier for Ethereum base-fee…
notlesh Jan 17, 2023
7cfd317
add gov2 tech committee (#2028)
nbaztec Jan 17, 2023
9a59551
Bump gas price (#2047)
notlesh Jan 18, 2023
f680485
Gov2 Precompiles (#1885)
4meta5 Jan 18, 2023
cc2e62f
Update proxies for new pallets (#2048)
Jan 18, 2023
22745c1
bump frontier (#2049)
nanocryk Jan 18, 2023
eab36e3
tests: update compiled pre-deployed contract files (#2046)
librelois Jan 18, 2023
a4af9c6
smoke test - check staking rewards starting from the block after firs…
nbaztec Jan 19, 2023
bb28f89
CI: copy tools scripts in workflows using it (#2031)
librelois Jan 19, 2023
b133edf
Improve gas checks in Randomness precompile (#2051)
nanocryk Jan 19, 2023
41d3b12
Weights benchmarks for RT2100 (#2053)
librelois Jan 19, 2023
1fa2a1e
Added correct expected values (#2055)
timbrinded Jan 20, 2023
e41cc12
Start minimal relay node if `relay_chain_rpc_url` is set (#2042)
librelois Jan 20, 2023
5f830a6
bump runtimes spec version to 2200 (#2058)
librelois Jan 23, 2023
5ac51eb
Add Smoke test IDs (#2027)
timbrinded Jan 23, 2023
8dd6d12
Utility.asDerivativeV2 test skipped for moonriver/beam (#2060)
timbrinded Jan 23, 2023
ffe691f
fix: distribute_rewards not forward balance anymore but create instea…
librelois Jan 23, 2023
3a36f10
Increase timeout for mb smoke tctc (#2062)
timbrinded Jan 24, 2023
cad0401
Add AMM contract sanity checks for forked state testing (#1995)
timbrinded Jan 24, 2023
c87469a
Add XCM scenarios to fee-multiplier tests (#2054)
timbrinded Jan 25, 2023
0fa98d8
Rename Slow to Fast (documentation/code clarity) (#2065)
notlesh Jan 25, 2023
a1110b6
[MOON-2077] add awarded_pts to precompiles (#2056)
nbaztec Jan 26, 2023
4ac6c39
createTransaction txn type consistency (#2066)
notlesh Jan 27, 2023
3585380
Prioritize Substrate txns by tip-per-effective-gas (#1957)
notlesh Jan 31, 2023
724d80b
Regression tests for `ExtrinsicSuccess` missing `extrinsic_base_weigh…
notlesh Feb 3, 2023
3c0e477
Clean up min multiplier (#2070)
notlesh Feb 3, 2023
235ffdb
Add ETH precompile tests (#2052)
timbrinded Feb 6, 2023
6780d94
Record some weight in min_gas_price (#2073)
notlesh Feb 6, 2023
edf1a33
Improve precompile set explicit list of security checks (#2034)
nanocryk Feb 7, 2023
19dcb00
Rename `submitAt.hash` and `submitAfter.hash` to `proposal` (#2077)
tgmichel Feb 7, 2023
e0f31c8
Fix precompile tuple encoding in return position (#2068)
nanocryk Feb 8, 2023
488eae6
Added WS waits/delays (#2081)
timbrinded Feb 8, 2023
5613918
update expanded (#2082)
nanocryk Feb 9, 2023
677b89c
Record log cost first in `collective` precompile (#2086)
tgmichel Feb 10, 2023
54f8c88
Set WhiteListOrigin to OpenTechCommitee (#2085)
Feb 10, 2023
bba5637
add randomness pallet as author filter source to moonriver (#2087)
nbaztec Feb 10, 2023
9b9dcdc
[MOON-2171] Return preimage hash from note preimage (#2089)
4meta5 Feb 10, 2023
9b3c249
typescript API v0.2100.0" (#2057)
github-actions[bot] Feb 11, 2023
b77e49d
Balances Consistency Smoke test fix (#2094)
timbrinded Feb 13, 2023
a6f7924
Timbo bal test update (#2096)
timbrinded Feb 13, 2023
4c22f7c
upgrade to v0.9.37 (#2072)
nbaztec Feb 13, 2023
216eeb4
Adds ParachainSystem pallet to non-transfer proxy (#2088)
Feb 13, 2023
9635d60
update version in precompile utils (#2097)
nbaztec Feb 13, 2023
f1673f1
Return referendumIndex from submit (#2079)
4meta5 Feb 14, 2023
4dd9646
Add OpenGov precompile logs (#2071)
tgmichel Feb 14, 2023
0756969
Fix try runtime (#2099)
nbaztec Feb 14, 2023
f6b6337
Refund submission deposit (#2091)
4meta5 Feb 14, 2023
f9e141b
allow "ANY proxy" to call to any EVM address (#2098)
tmpolaczyk Feb 15, 2023
a20a6ee
Increased global timeouts to 5s (#2104)
timbrinded Feb 16, 2023
8073d49
Improve Collective precompile call decoding (#2083)
nanocryk Feb 16, 2023
d205cde
Dynamic Fee @ Moonriver (#2078)
notlesh Feb 16, 2023
ace3895
add test to ensure moonbeam binary exists (#2103)
tmpolaczyk Feb 16, 2023
354a24f
`EvmData` derive macro (#2095)
nanocryk Feb 17, 2023
bbb0deb
Fix trackId=>Origin conversion, support submit for root track (#2084)
4meta5 Feb 17, 2023
d5fd434
Introduce Proxy Precompile to Moonriver/Moonbeam (#2105)
tmpolaczyk Feb 17, 2023
a6b1b6b
Adds open tech committee to moonbeam bundle definitions (#2106)
Feb 17, 2023
5809079
Added smoke tests for dynamic fee monitoring (#2069)
timbrinded Feb 18, 2023
77c2928
Erc20 XCM bridge (#2090)
librelois Feb 20, 2023
46903d1
Changes referenda precompile to take proposal hash on submit (+Demo) …
Feb 20, 2023
565d88f
fix tracing runtime build (#2112)
librelois Feb 20, 2023
7c3b68c
bump client version to v0.30.0 (#2109)
librelois Feb 20, 2023
d13b81f
Add docker image for each Runtime release (#2115)
librelois Feb 21, 2023
0866b3c
Improve referenda precompile logs (#2113)
tgmichel Feb 21, 2023
2227d98
referendumStatus, referendumInfo (#2092)
4meta5 Feb 21, 2023
fc15a39
Reduces conviction lock period to 1 day (#2117)
Feb 21, 2023
70d3574
upgrade srtool to use rustc 1.66.1 (#2118)
librelois Feb 21, 2023
031740d
fix {moonriver,moonbeam}-runtime build (std feature) (#2119)
librelois Feb 21, 2023
4472034
fix off by one in staking num collators logic (#2116)
tmpolaczyk Feb 22, 2023
c1c5047
Reduce Submission Deposit and Timeout (#2121)
Feb 22, 2023
eb81675
set env vars in run block (#2122)
librelois Feb 22, 2023
465d395
Introduce num_selected_candidates genesis config param (#2114)
tmpolaczyk Feb 22, 2023
2f333fe
move runtime job tag-docker in a separate workflow (#2126)
librelois Feb 23, 2023
37cdc6f
upgrade github actions that use deprecated node v12.x (#2110)
librelois Feb 23, 2023
c8d839d
Bump runtime version to 2300 (#2125)
Feb 23, 2023
1309515
wait end of setup-scripts job (#2128)
librelois Feb 23, 2023
91c54e8
update launch config (#2130)
librelois Feb 23, 2023
08ba7e7
Fixed TS build and added new CI (#2127)
timbrinded Feb 23, 2023
634f269
fix typo (#2132)
librelois Feb 23, 2023
a2fe39b
Use workspace dependencies (#2108)
nanocryk Feb 24, 2023
019120f
Workspace dependencies followup (#2133)
nanocryk Feb 27, 2023
14b0132
[MOON-2215] add pallet referenda migration (#2134)
nbaztec Feb 27, 2023
607ce33
fix try-runtime build after workspace deps PR (#2137)
nanocryk Feb 28, 2023
1e221c4
bump client version to v0.31.0 (#2136)
librelois Feb 28, 2023
8041e9c
Update smoke balance test to account for optional deposit (#2140)
Feb 28, 2023
c8be0be
pull image to retag (#2141)
librelois Mar 1, 2023
5fd2522
Filter out XCM exts from smoke test (#2142)
timbrinded Mar 1, 2023
0f7d8a3
[MOON-2124] add randomness pallet as author filter source to moonbeam…
nbaztec Mar 2, 2023
75ec7ea
Fix Balance Consistency Smoketest (#2144)
timbrinded Mar 2, 2023
c738580
AuthorMapping precompile getters (#2143)
nanocryk Mar 6, 2023
d39e593
Allow calling proxy.proxy from smart contracts in moonbase (#2148)
tmpolaczyk Mar 8, 2023
a135fec
Modified proxy precompile comment (#2154)
albertov19 Mar 9, 2023
a3721de
added root in moonbase and moonriver referenda (#2151)
Agusrodri Mar 9, 2023
51818a8
Optimize compute_top_candidates (#2123)
tmpolaczyk Mar 14, 2023
d72a0f9
Adds test for minting 2^128 in local assets (#2156)
Mar 15, 2023
093b04a
Update collator candidate self-bond in Moonriver (#2139)
Agusrodri Mar 15, 2023
ba64113
Update extensions for ESM compatibility (#2149)
timbrinded Mar 16, 2023
f50aba1
better error message for type parameters in fn arguments (#2147)
nanocryk Mar 16, 2023
6e87f53
cleanup (#2162)
timbrinded Mar 17, 2023
025d275
Upgrade typescript API for runtime 2201 (#2164)
github-actions[bot] Mar 17, 2023
93175f9
Add HRMP Cancel variant to hrmp_manage (#2159)
Agusrodri Mar 17, 2023
c3c5bd4
Fix the NPM GA (#2167)
timbrinded Mar 17, 2023
e7fc2a7
Add CheckNonZeroSender on SignedExtra (#2172)
Agusrodri Mar 20, 2023
423d7cb
Added asserts for revert reasons (#2173)
timbrinded Mar 20, 2023
eb50d28
Allow proxy precompile to perform subcalls and to be callable from ba…
librelois Mar 22, 2023
45139b7
Update some dependencies (#2178)
tmpolaczyk Mar 22, 2023
bf1eafc
Modify RelayEncoder precompile to accept HRMP Cancel variant (#2179)
Agusrodri Mar 23, 2023
a29a8ff
Add conviction voting Split, SplitAbstain vote options (#2169)
4meta5 Mar 23, 2023
afed395
Moonwall Integration (#2176)
timbrinded Mar 24, 2023
e6b3114
update frag bootnode (#2161)
purestakeoskar Mar 24, 2023
3e9c062
Rename raw tracing `stepLogs` tag to `structLogs` (#2186)
tgmichel Mar 27, 2023
a3e75b4
PrecompileRegistry (#2138)
nanocryk Mar 28, 2023
446faeb
Update 0.9.38 (#2145)
tgmichel Mar 28, 2023
1e2777d
Added upgrade checks for smoke tests (#2181)
timbrinded Mar 29, 2023
7e832c1
fix 0.9.38 build (#2191)
tgmichel Mar 29, 2023
752ed6e
remove unused import (#2189)
nanocryk Mar 29, 2023
a9e6263
[MOON-2201] allow only EOA in real for proxy call, add demo (#2171)
nbaztec Mar 31, 2023
bcc8988
Moonbeam: update collator candidate self-bond (#2174)
Agusrodri Apr 3, 2023
0fdab72
[MOON-2174] add smoke test to ensure managed assets are live (#2188)
nbaztec Apr 4, 2023
3949289
add `GeneralAdminOrRoot` to `SetMembersOrigin` (#2195)
tgmichel Apr 4, 2023
66023c3
Switch to stable rust and make rust debug build usable (#2207)
librelois Apr 5, 2023
ebdeb40
Update purestake bootnode (#2190)
purestakeoskar Apr 5, 2023
478d307
Add PrecompileRegistry precompile to all runtimes (#2204)
nanocryk Apr 6, 2023
ea5e1c7
Add xcm-transactor V2 precompile to moonriver/moonbeam (#2206)
Agusrodri Apr 6, 2023
b3f9d9f
[MOON-2307] Precompile method conviction_voting::removeVoteForTrack (…
4meta5 Apr 11, 2023
336be24
Allows Ethereum Tracing with Collator (#2163)
Apr 11, 2023
55e2e4d
add missing collective storage prefix checks (#2196)
tgmichel Apr 12, 2023
0a03e9c
XCM: Limit the max number of assets weighable (#2215)
librelois Apr 12, 2023
6772b27
Add Dynamic Fee support for Moonbeam (#2166)
notlesh Apr 12, 2023
7776790
Enable eth_call state override (#2219)
nbaztec Apr 12, 2023
41bb241
[MOON-2311] expose VotingFor and ClassLocksFor data in precompile (#2…
nbaztec Apr 12, 2023
74ab09e
Pin frontier `df4e329` (#2221)
tgmichel Apr 12, 2023
47ccb14
GMP Precompiles (#2155)
notlesh Apr 12, 2023
b5c6896
recreate XcmExecutorWrapper (#2222)
librelois Apr 13, 2023
edaae12
Fixes gas in tracing tests (#2224)
Apr 13, 2023
9f7a647
Fixes gas in tracing tests (#2224)
Apr 13, 2023
bb83960
Ensure total_selected < round_length (#2227)
notlesh Apr 13, 2023
db4790c
add typescript test for erc20 xcm reception + refactor xcm utils (ts)…
librelois Apr 13, 2023
4d844b7
Add chopsticks upgrade test to CI (#2214)
timbrinded Apr 14, 2023
19da0a7
MOdify proof size for XCM (#2228)
girazoki Apr 14, 2023
41c0131
remove typo in publish runtime workflow (#2232)
librelois Apr 14, 2023
77e4f19
Upgrade typescript API for runtime 2301 (#2235)
github-actions[bot] Apr 17, 2023
b109b2f
Updating Purestake bootnodes (#2223)
purestakeoskar Apr 17, 2023
3eb712b
bump spec version (#2233)
librelois Apr 17, 2023
67ce74d
Enable proof recording in dev mode (#2208)
librelois Apr 17, 2023
b71106f
Adds fix for set-heap (#2238)
Apr 17, 2023
e85c610
Import extract_genesis_wasm function instead of duplicating it (#2226)
tmpolaczyk Apr 18, 2023
9c23bd3
precompile-utils refactor (#2165)
nanocryk Apr 19, 2023
82796e8
Fix 0 deposit smoketest (#2246)
timbrinded Apr 19, 2023
056f674
use cargo resolver v2 (#2241)
librelois Apr 19, 2023
8864a16
Moving CI to bare-metal (#2242)
Apr 19, 2023
96e5b2d
Cleanup CI (#2251)
librelois Apr 20, 2023
aaf9e0f
Avoid binary search over potentially unsorted data (#2247)
notlesh Apr 20, 2023
5d1317a
Rely solely on amount of asset transferred by Wormhole (#2244)
notlesh Apr 20, 2023
c24d472
Update solidity interface with correct precompile address (#2245)
notlesh Apr 20, 2023
4e87c81
Cleanup migrations (#2250)
librelois Apr 20, 2023
302e47c
Add replacement para test for moonbase (#2234)
timbrinded Apr 20, 2023
e8eef18
Add pallet-multisig to Moonbase runtime (#2187)
Agusrodri Apr 21, 2023
fb0c237
Fix collators not producing blocks when selected candidates is zero (…
tmpolaczyk Apr 21, 2023
0bdc7c0
Add TS tests for erc20-xcm (#2243)
Agusrodri Apr 21, 2023
1cd667c
add ui and expand tests for name macro (#2150)
nanocryk Apr 24, 2023
921eb4b
Add missing `moonbeam-xcm-benchmarks` (#2255)
tgmichel Apr 24, 2023
97e953e
enable features try-runtime, runtime-benchmarks for clippy (#2258)
nbaztec Apr 25, 2023
0545adc
Refactored RateLimiter for CI (#2257)
timbrinded Apr 25, 2023
0933fe3
Increased the minimum period for pallet timestamp (#2266)
fgamundi Apr 27, 2023
5b28262
Added missing XCM benchmark overrides (#2270)
fgamundi Apr 28, 2023
00b3e3d
Increase XCM benchmark overrides to max weight (#2275)
fgamundi Apr 28, 2023
fd3d8af
Add typescript tests for multisigs (#2271)
Agusrodri May 2, 2023
cb25968
CI: Enable debug-assertions and overflow-checks in rust tests (#2269)
librelois May 3, 2023
25d02f3
Remove MinCollatorStk from parachain-staking pallet (#2265)
Agusrodri May 3, 2023
e4beca5
fail step when subshell fails (#2274)
nbaztec May 4, 2023
3192e5c
Merge remote-tracking branch 'PureStake/master' into tarekkma/upgrade…
TarekkMA May 4, 2023
5f9159a
lock
TarekkMA May 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .ecrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"SpacesAftertabs": true
}
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ indent_size=2

[*.md]
trim_trailing_whitespace=false

[*.expanded.rs]
indent_style=off
indent_size=off
max_line_length=off
596 changes: 330 additions & 266 deletions .github/workflows/build.yml

Large diffs are not rendered by default.

26 changes: 21 additions & 5 deletions .github/workflows/client-release-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,36 @@ on:
required: true

jobs:
setup-scripts:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Upload tools
uses: actions/upload-artifact@v3
with:
name: original-tools
path: tools

create_client_ticket:
needs: ["setup-scripts"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Download Original Tools
uses: actions/download-artifact@v3
with:
node-version: 14.x
name: original-tools
path: original-tools
- name: Generate client release issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: original-tools
run: |
cd tools
npm i
npm run --silent print-client-release-issue -- --from ${{ github.event.inputs.from }} --to ${{ github.event.inputs.to }} | tee ../client-release-issue.md
- name: Create version bump issue
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install tooling
run: |
sudo apt-get install -y protobuf-compiler
protoc --version
- name: Checkout repository
uses: actions/checkout@v1

Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/enforce-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,22 @@ jobs:
enforce-noteworthiness-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected].0
- uses: yogevbd/[email protected].2
with:
REQUIRED_LABELS_ANY: "B0-silent,B5-clientnoteworthy,B7-runtimenoteworthy"
REQUIRED_LABELS_ALL: ""
BANNED_LABELS: ""
- name: Verify breaking changes label
if: contains(github.event.pull_request.labels.*.name, 'B5-clientnoteworthy') || contains(github.event.pull_request.labels.*.name, 'B7-runtimenoteworthy')
uses: yogevbd/[email protected]
with:
REQUIRED_LABELS_ANY: "breaking,not-breaking"
REQUIRED_LABELS_ALL: ""
BANNED_LABELS: ""
enforce-auditability-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected].0
- uses: yogevbd/[email protected].2
with:
REQUIRED_LABELS_ANY: "D1-audited👍,D5-nicetohaveaudit⚠️,D9-needsaudit👮,D2-notlive,D3-trivial"
REQUIRED_LABELS_ALL: ""
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/prepare-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
RUSTFLAGS: "-C target-cpu=${{ matrix.cpu }}"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.sha }}
- name: Setup Rust toolchain
Expand All @@ -38,7 +38,7 @@ jobs:
mkdir -p build
cp target/production/moonbeam build/moonbeam-${{matrix.cpu}}
- name: Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: moonbeam
path: build
Expand All @@ -49,10 +49,10 @@ jobs:
needs: ["build-binary"]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.sha }}
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3.0.2
with:
name: moonbeam
path: build
Expand All @@ -62,8 +62,8 @@ jobs:
DOCKER_IMAGE=purestake/moonbeam
SHA8="$(git log -1 --format="%H" | cut -c1-8)"
TAGS="${DOCKER_IMAGE}:sha-${SHA8}-opt"
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -73,13 +73,13 @@ jobs:
driver-opts: |
image=moby/buildkit:master
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push moonbeam
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./docker/moonbeam.Dockerfile
Expand Down
35 changes: 26 additions & 9 deletions .github/workflows/publish-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,18 @@ on:

jobs:
####### Building binaries #######
setup-scripts:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Upload tools
uses: actions/[email protected]
with:
name: original-tools
path: tools

build-binary:
needs: ["setup-scripts"]
runs-on: self-hosted
strategy:
matrix:
Expand All @@ -23,7 +33,7 @@ jobs:
RUSTFLAGS: "-C target-cpu=${{ matrix.cpu }}"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.to }}
- name: Setup Rust toolchain
Expand All @@ -41,7 +51,7 @@ jobs:
mkdir -p build
cp target/production/moonbeam build/moonbeam-${{matrix.cpu}}
- name: Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: moonbeam
path: build
Expand All @@ -56,24 +66,31 @@ jobs:
asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.to }}
fetch-depth: 0
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3.0.2
with:
name: moonbeam
path: build
- name: Use Node.js 14.x
uses: actions/setup-node@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- name: Download Original Tools
uses: actions/download-artifact@v3
with:
name: original-tools
path: original-tools
- name: Generate release body
id: generate-release-body
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: original-tools
run: |
cd tools
yarn
yarn -s run ts-node github/generate-release-body.ts --from "${{ github.event.inputs.from }}" --to "${{ github.event.inputs.to }}" --srtool-report-folder '../build/' > ../body.md
yarn -s run ts-node github/generate-release-body.ts --owner "${{ github.repository_owner }}" --repo "$(basename ${{ github.repository }})" --from "${{ github.event.inputs.from }}" --to "${{ github.event.inputs.to }}" --srtool-report-folder '../build/' > ../body.md
- name: Create draft release
id: create-release
uses: actions/create-release@v1
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/publish-docker-runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Docker runtime

on:
workflow_dispatch:
inputs:
tag:
description: runtime tag (ex. runtime-2200) to publish on docker
required: true

jobs:
tag-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish runtime docker image
run: |
DOCKER_IMAGE=purestake/moonbeam
DOCKER_TAG="${{ github.event.inputs.tag }}"
COMMIT=`git rev-list -n 1 '${{ github.event.inputs.tag }}'`
SHA=sha-${COMMIT::8}
echo tagging "${DOCKER_IMAGE}:${SHA}"
docker pull "${DOCKER_IMAGE}:${SHA}"
docker tag "${DOCKER_IMAGE}:${SHA}" "${DOCKER_IMAGE}:${DOCKER_TAG}"
docker push "${DOCKER_IMAGE}:${DOCKER_TAG}"
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
Loading