Skip to content

Commit 5742e10

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feat/remove-is-origin-call
2 parents 3375be4 + ae0c9f4 commit 5742e10

File tree

151 files changed

+6473
-8157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+6473
-8157
lines changed

.github/workflows/releaser-master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache: true
2828

2929
- uses: sigstore/[email protected]
30-
- uses: anchore/sbom-action/[email protected].8
30+
- uses: anchore/sbom-action/[email protected].9
3131

3232
- uses: docker/login-action@v3
3333
with:

.github/workflows/releaser-nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache: true
2525

2626
- uses: sigstore/[email protected]
27-
- uses: anchore/sbom-action/[email protected].8
27+
- uses: anchore/sbom-action/[email protected].9
2828

2929
- uses: docker/login-action@v3
3030
with:

contribs/github-bot/internal/config/config.go

+15-7
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,22 @@ func Config(gh *client.GitHub) ([]AutomaticCheck, []ManualCheck) {
3838
{
3939
Description: "Changes to 'docs' folder must be reviewed/authored by at least one devrel and one tech-staff",
4040
If: c.FileChanged(gh, "^docs/"),
41-
Then: r.Or(
42-
r.And(
43-
r.AuthorInTeam(gh, "devrels"),
41+
Then: r.And(
42+
r.Or(
43+
r.AuthorInTeam(gh, "tech-staff"),
4444
r.ReviewByTeamMembers(gh, "tech-staff", 1),
4545
),
46-
r.And(
47-
r.AuthorInTeam(gh, "tech-staff"),
46+
r.Or(
47+
r.AuthorInTeam(gh, "devrels"),
4848
r.ReviewByTeamMembers(gh, "devrels", 1),
4949
),
5050
),
5151
},
52+
{
53+
Description: "Must not contain the \"don't merge\" label",
54+
If: c.Label("don't merge"),
55+
Then: r.Never(),
56+
},
5257
}
5358

5459
manual := []ManualCheck{
@@ -59,8 +64,11 @@ func Config(gh *client.GitHub) ([]AutomaticCheck, []ManualCheck) {
5964
},
6065
{
6166
Description: "The pull request description provides enough details",
62-
If: c.Not(c.AuthorInTeam(gh, "core-contributors")),
63-
Teams: Teams{"core-contributors"},
67+
If: c.And(
68+
c.Not(c.AuthorInTeam(gh, "core-contributors")),
69+
c.Not(c.Author("dependabot[bot]")),
70+
),
71+
Teams: Teams{"core-contributors"},
6472
},
6573
{
6674
Description: "Determine if infra needs to be updated before merging",

contribs/gnodev/pkg/dev/node_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func testingCallRealm(t *testing.T, node *Node, msgs ...vm.MsgCall) (*core_types
438438

439439
txcfg := gnoclient.BaseTxCfg{
440440
GasFee: ugnot.ValueString(1000000), // Gas fee
441-
GasWanted: 2_000_000, // Gas wanted
441+
GasWanted: 3_000_000, // Gas wanted
442442
}
443443

444444
// Set Caller in the msgs

examples/gno.land/p/demo/avl/z_0_filetest.gno

-113
Original file line numberDiff line numberDiff line change
@@ -215,116 +215,3 @@ func main() {
215215
// }
216216
// }
217217
// }
218-
// u[a8ada09dee16d791fd406d629fe29bb0ed084a30:2]={
219-
// "Blank": {},
220-
// "ObjectInfo": {
221-
// "ID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:2",
222-
// "IsEscaped": true,
223-
// "ModTime": "5",
224-
// "RefCount": "2"
225-
// },
226-
// "Parent": null,
227-
// "Source": {
228-
// "@type": "/gno.RefNode",
229-
// "BlockNode": null,
230-
// "Location": {
231-
// "Column": "0",
232-
// "File": "",
233-
// "Line": "0",
234-
// "PkgPath": "gno.land/r/test"
235-
// }
236-
// },
237-
// "Values": [
238-
// {
239-
// "T": {
240-
// "@type": "/gno.PointerType",
241-
// "Elt": {
242-
// "@type": "/gno.RefType",
243-
// "ID": "gno.land/p/demo/avl.Node"
244-
// }
245-
// },
246-
// "V": {
247-
// "@type": "/gno.PointerValue",
248-
// "Base": {
249-
// "@type": "/gno.RefValue",
250-
// "Hash": "ae86874f9b47fa5e64c30b3e92e9d07f2ec967a4",
251-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:6"
252-
// },
253-
// "Index": "0",
254-
// "TV": null
255-
// }
256-
// },
257-
// {
258-
// "T": {
259-
// "@type": "/gno.FuncType",
260-
// "Params": [],
261-
// "Results": []
262-
// },
263-
// "V": {
264-
// "@type": "/gno.FuncValue",
265-
// "Closure": {
266-
// "@type": "/gno.RefValue",
267-
// "Escaped": true,
268-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:3"
269-
// },
270-
// "FileName": "z_0.gno",
271-
// "IsMethod": false,
272-
// "Name": "init.1",
273-
// "NativeName": "",
274-
// "NativePkg": "",
275-
// "PkgPath": "gno.land/r/test",
276-
// "Source": {
277-
// "@type": "/gno.RefNode",
278-
// "BlockNode": null,
279-
// "Location": {
280-
// "Column": "1",
281-
// "File": "z_0.gno",
282-
// "Line": "10",
283-
// "PkgPath": "gno.land/r/test"
284-
// }
285-
// },
286-
// "Type": {
287-
// "@type": "/gno.FuncType",
288-
// "Params": [],
289-
// "Results": []
290-
// }
291-
// }
292-
// },
293-
// {
294-
// "T": {
295-
// "@type": "/gno.FuncType",
296-
// "Params": [],
297-
// "Results": []
298-
// },
299-
// "V": {
300-
// "@type": "/gno.FuncValue",
301-
// "Closure": {
302-
// "@type": "/gno.RefValue",
303-
// "Escaped": true,
304-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:3"
305-
// },
306-
// "FileName": "z_0.gno",
307-
// "IsMethod": false,
308-
// "Name": "main",
309-
// "NativeName": "",
310-
// "NativePkg": "",
311-
// "PkgPath": "gno.land/r/test",
312-
// "Source": {
313-
// "@type": "/gno.RefNode",
314-
// "BlockNode": null,
315-
// "Location": {
316-
// "Column": "1",
317-
// "File": "z_0.gno",
318-
// "Line": "15",
319-
// "PkgPath": "gno.land/r/test"
320-
// }
321-
// },
322-
// "Type": {
323-
// "@type": "/gno.FuncType",
324-
// "Params": [],
325-
// "Results": []
326-
// }
327-
// }
328-
// }
329-
// ]
330-
// }

examples/gno.land/p/demo/avl/z_1_filetest.gno

+43-118
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,44 @@ func main() {
2424

2525
// Realm:
2626
// switchrealm["gno.land/r/test"]
27+
// u[a8ada09dee16d791fd406d629fe29bb0ed084a30:6]={
28+
// "ObjectInfo": {
29+
// "ID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:6",
30+
// "ModTime": "11",
31+
// "OwnerID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:5",
32+
// "RefCount": "1"
33+
// },
34+
// "Value": {
35+
// "T": {
36+
// "@type": "/gno.RefType",
37+
// "ID": "gno.land/p/demo/avl.Node"
38+
// },
39+
// "V": {
40+
// "@type": "/gno.RefValue",
41+
// "Hash": "1375f6f96a1a3f298347dc8fc0065afa36cb7f0f",
42+
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:7"
43+
// }
44+
// }
45+
// }
46+
// u[a8ada09dee16d791fd406d629fe29bb0ed084a30:8]={
47+
// "ObjectInfo": {
48+
// "ID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:8",
49+
// "ModTime": "13",
50+
// "OwnerID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:5",
51+
// "RefCount": "1"
52+
// },
53+
// "Value": {
54+
// "T": {
55+
// "@type": "/gno.RefType",
56+
// "ID": "gno.land/p/demo/avl.Node"
57+
// },
58+
// "V": {
59+
// "@type": "/gno.RefValue",
60+
// "Hash": "b28057ab7be6383785c0a5503e8a531bdbc21851",
61+
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:9"
62+
// }
63+
// }
64+
// }
2765
// c[a8ada09dee16d791fd406d629fe29bb0ed084a30:15]={
2866
// "Fields": [
2967
// {
@@ -143,7 +181,7 @@ func main() {
143181
// "@type": "/gno.PointerValue",
144182
// "Base": {
145183
// "@type": "/gno.RefValue",
146-
// "Hash": "2f3adc5d0f2a3fe0331cfa93572a7abdde14c9aa",
184+
// "Hash": "cafae89e4d4aaaefe7fdf0691084508d4274a981",
147185
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:8"
148186
// },
149187
// "Index": "0",
@@ -191,7 +229,7 @@ func main() {
191229
// },
192230
// "V": {
193231
// "@type": "/gno.RefValue",
194-
// "Hash": "fe20a19f956511f274dc77854e9e5468387260f4",
232+
// "Hash": "b2e446f490656c19a83c43055de29c96e92a1549",
195233
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:13"
196234
// }
197235
// }
@@ -235,7 +273,7 @@ func main() {
235273
// "@type": "/gno.PointerValue",
236274
// "Base": {
237275
// "@type": "/gno.RefValue",
238-
// "Hash": "c89a71bdf045e8bde2059dc9d33839f916e02e5d",
276+
// "Hash": "4e56eeb96eb1d9b27cf603140cd03a1622b6358b",
239277
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:6"
240278
// },
241279
// "Index": "0",
@@ -254,7 +292,7 @@ func main() {
254292
// "@type": "/gno.PointerValue",
255293
// "Base": {
256294
// "@type": "/gno.RefValue",
257-
// "Hash": "90fa67f8c47db4b9b2a60425dff08d5a3385100f",
295+
// "Hash": "7b61530859954d1d14b2f696c91c5f37d39c21e7",
258296
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:12"
259297
// },
260298
// "Index": "0",
@@ -283,123 +321,10 @@ func main() {
283321
// },
284322
// "V": {
285323
// "@type": "/gno.RefValue",
286-
// "Hash": "83e42caaf53070dd95b5f859053eb51ed900bbda",
324+
// "Hash": "fedc6d430b38c985dc6a985b2fcaee97e88ba6da",
287325
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:11"
288326
// }
289327
// }
290328
// }
291-
// u[a8ada09dee16d791fd406d629fe29bb0ed084a30:2]={
292-
// "Blank": {},
293-
// "ObjectInfo": {
294-
// "ID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:2",
295-
// "IsEscaped": true,
296-
// "ModTime": "9",
297-
// "RefCount": "2"
298-
// },
299-
// "Parent": null,
300-
// "Source": {
301-
// "@type": "/gno.RefNode",
302-
// "BlockNode": null,
303-
// "Location": {
304-
// "Column": "0",
305-
// "File": "",
306-
// "Line": "0",
307-
// "PkgPath": "gno.land/r/test"
308-
// }
309-
// },
310-
// "Values": [
311-
// {
312-
// "T": {
313-
// "@type": "/gno.PointerType",
314-
// "Elt": {
315-
// "@type": "/gno.RefType",
316-
// "ID": "gno.land/p/demo/avl.Node"
317-
// }
318-
// },
319-
// "V": {
320-
// "@type": "/gno.PointerValue",
321-
// "Base": {
322-
// "@type": "/gno.RefValue",
323-
// "Hash": "1faa9fa4ba1935121a6d3f0a623772e9d4499b0a",
324-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:10"
325-
// },
326-
// "Index": "0",
327-
// "TV": null
328-
// }
329-
// },
330-
// {
331-
// "T": {
332-
// "@type": "/gno.FuncType",
333-
// "Params": [],
334-
// "Results": []
335-
// },
336-
// "V": {
337-
// "@type": "/gno.FuncValue",
338-
// "Closure": {
339-
// "@type": "/gno.RefValue",
340-
// "Escaped": true,
341-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:3"
342-
// },
343-
// "FileName": "z_1.gno",
344-
// "IsMethod": false,
345-
// "Name": "init.1",
346-
// "NativeName": "",
347-
// "NativePkg": "",
348-
// "PkgPath": "gno.land/r/test",
349-
// "Source": {
350-
// "@type": "/gno.RefNode",
351-
// "BlockNode": null,
352-
// "Location": {
353-
// "Column": "1",
354-
// "File": "z_1.gno",
355-
// "Line": "10",
356-
// "PkgPath": "gno.land/r/test"
357-
// }
358-
// },
359-
// "Type": {
360-
// "@type": "/gno.FuncType",
361-
// "Params": [],
362-
// "Results": []
363-
// }
364-
// }
365-
// },
366-
// {
367-
// "T": {
368-
// "@type": "/gno.FuncType",
369-
// "Params": [],
370-
// "Results": []
371-
// },
372-
// "V": {
373-
// "@type": "/gno.FuncValue",
374-
// "Closure": {
375-
// "@type": "/gno.RefValue",
376-
// "Escaped": true,
377-
// "ObjectID": "a8ada09dee16d791fd406d629fe29bb0ed084a30:3"
378-
// },
379-
// "FileName": "z_1.gno",
380-
// "IsMethod": false,
381-
// "Name": "main",
382-
// "NativeName": "",
383-
// "NativePkg": "",
384-
// "PkgPath": "gno.land/r/test",
385-
// "Source": {
386-
// "@type": "/gno.RefNode",
387-
// "BlockNode": null,
388-
// "Location": {
389-
// "Column": "1",
390-
// "File": "z_1.gno",
391-
// "Line": "15",
392-
// "PkgPath": "gno.land/r/test"
393-
// }
394-
// },
395-
// "Type": {
396-
// "@type": "/gno.FuncType",
397-
// "Params": [],
398-
// "Results": []
399-
// }
400-
// }
401-
// }
402-
// ]
403-
// }
404329
// d[a8ada09dee16d791fd406d629fe29bb0ed084a30:4]
405330
// d[a8ada09dee16d791fd406d629fe29bb0ed084a30:5]

0 commit comments

Comments
 (0)