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

fix: optin oncomplete, assertions, method returns #311

Open
wants to merge 47 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2e66773
fix: allow super().__init__() calls that resolve to object.__init__()…
achidlow Aug 30, 2024
0cbc19c
fix: fix super() usage in multiple inheritance scenarios
achidlow Jul 9, 2024
48f9854
respect inheritable when resolving function references
achidlow Aug 30, 2024
590346e
add passing tests that configure and use cattrs to serialize/unserial…
daniel-makerx Aug 30, 2024
d1906c3
build: remove hatch from CD
daniel-makerx Aug 30, 2024
e4874b1
feat: add functions for serializing AWST to JSON
daniel-makerx Aug 30, 2024
d19c2a9
feat: add CLI option to serialize AWST to JSON
daniel-makerx Aug 30, 2024
41c34c5
feat: move lib_embedded to _puya_lib and load as part of IR build step
daniel-makerx Aug 30, 2024
de120dd
chore: rerun compile all
daniel-makerx Aug 30, 2024
b3e1639
chore: remove hatch from CD
daniel-makerx Aug 30, 2024
888fc3e
simplify arc4_router
achidlow Aug 30, 2024
954a82c
fix: calling `algopy.arc4.arc4_create` or `algopy.arc4.arc4_update` w…
daniel-makerx Aug 30, 2024
25cef67
feat: `algopy.arc4.abi_call`, `algopy.arc4.arc4_create` and `algopy.a…
daniel-makerx Aug 29, 2024
7939dc0
feat: add AWST node PuyaLibCall for calling puya provided subroutines
daniel-makerx Sep 2, 2024
ec6b5cd
fix: when there is exactly 15 arguments to an ABI function, the final…
achidlow Aug 26, 2024
88a6014
puya/puyapy CLI split (wip)
achidlow Sep 2, 2024
92ad60b
remove is_abstract flag on ContractFragment, explicit compilation tar…
achidlow Sep 3, 2024
7b4db99
implement puya (backend) CLI
achidlow Sep 3, 2024
29a5186
remove final puyapy import in puya core
achidlow Sep 3, 2024
d8a01f6
set sources on log context as early as possible when running via puya…
achidlow Sep 3, 2024
53c7753
refactoring
achidlow Sep 3, 2024
ee32618
indent AWST JSON files
achidlow Sep 3, 2024
c7d43c2
remove unused attrs class
achidlow Sep 3, 2024
26e66e7
move AWST validation step into puya core
achidlow Sep 5, 2024
cbce065
remove reference to mypy error class in puya exception handling
achidlow Sep 10, 2024
07b6745
comment wording
achidlow Sep 10, 2024
d010c1c
remove unused functions
achidlow Sep 6, 2024
3ca50d2
fix MIR writer alignment bug
achidlow Sep 9, 2024
8aeae74
fix: when accessing a member of self, use the source location of the …
achidlow Sep 6, 2024
28b5d14
- don't output line/file numbers for embedded lib functions in TEAL
achidlow Sep 6, 2024
8f3f643
refactoring / error message casing
achidlow Sep 6, 2024
108196a
remove unnecessary SourceMeta
achidlow Sep 9, 2024
e0aa5f6
minor refactor/simplify
achidlow Sep 9, 2024
94dd06a
fix column locations when expanding source to include/exclude comment…
achidlow Sep 9, 2024
d1fc8f1
make end_line non-optional
achidlow Sep 9, 2024
7ada726
fix bug in SourceLocation "addition"
achidlow Sep 9, 2024
aed658e
remove unused optional argument
achidlow Sep 9, 2024
20d7678
improved SourceLocation validation
achidlow Sep 9, 2024
542e70e
remove comment Python coupling
achidlow Sep 9, 2024
691b064
fix user-comment locations being included in log output locations
achidlow Sep 9, 2024
1e7fd8f
fix block line locations in IR labels
achidlow Sep 9, 2024
14ab9c2
removing user-comment lines from MIR output
achidlow Sep 9, 2024
ae9ae1b
improve SourceLocation merging so that only adjacent/overlapping line…
achidlow Sep 9, 2024
3733f07
simplify traceback logging
achidlow Sep 10, 2024
1d7b06f
validate rather than resolve SourceLocation paths, to prevent inconsi…
achidlow Sep 10, 2024
499b1ea
fix: optin oncomplete, assertions, method returns
Sep 12, 2024
e410bc8
ran pre-commit, compiled new auction app
Sep 13, 2024
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
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Install hatch
run: pipx install hatch

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -114,7 +111,7 @@ jobs:
if: inputs.stubs_wheel
run: |
pushd stubs
hatch build -t wheel
poetry build --format wheel
popd

- uses: actions/upload-artifact@v4 # upload artifacts so they are retained on the job
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/check-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Install hatch
run: pipx install hatch

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -47,7 +44,7 @@ jobs:

# build stubs
pushd stubs
hatch build -t wheel
poetry build --format wheel
popd

# build compiler
Expand Down
2,250 changes: 1,125 additions & 1,125 deletions examples/amm/out/ConstantProductAMM.approval.mir

Large diffs are not rendered by default.

Loading