Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AUTONITY_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b0e1080d6fce220c9b3daefb57a35835d194695a
v1.1.0-internal
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SRCDIR := $(AUTONITY)/autonity/solidity/contracts
OUTDIR := autonity/contracts

abigen = hatch run generate:pyabigen \
--version $(VERSION) \
--src $(word 1,$(1)) \
--devdoc $(word 2,$(1)) \
--userdoc $(word 3,$(1)) \
Expand Down Expand Up @@ -36,13 +35,14 @@ $(OUTDIR)/auctioneer.py: $(call gentargets,Auctioneer)
$(call abigen,$^) --exclude paidInterest,setOperator,setOracle,setStabilization >$@

$(OUTDIR)/autonity.py: $(call gentargets,Autonity)
$(call abigen,$^) --exclude autobond,computeCommittee,finalize,finalizeInitialization,jail,jailbound,slash,slashAndJail >$@
$(call abigen,$^) --version $(VERSION) \
--exclude autobond,computeCommittee,finalize,finalizeInitialization,jail,jailbound,slash,slashAndJail >$@

$(OUTDIR)/inflation_controller.py: $(call gentargets,InflationController)
$(call abigen,$^) >$@

$(OUTDIR)/liquid_logic.py: $(call gentargets,LiquidLogic)
$(call abigen,$^) --exclude burn,lock,mint,redistribute,setCommissionRate,unlock >$@
$(call abigen,$^) --exclude burn,lock,lockFrom,mint,redistribute,setCommissionRate,unlock >$@

$(OUTDIR)/omission_accountability.py: $(call gentargets,OmissionAccountability)
$(call abigen,$^) --exclude distributeProposerRewards,finalize,setCommittee,setEpochBlock,setOperator >$@
Expand Down
2 changes: 0 additions & 2 deletions autonity/contracts/accountability.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import web3
from web3.contract import contract

__version__ = "b0e1080d6fce220c9b3daefb57a35835d194695a"


class Rule(enum.IntEnum):
"""Port of `enum Rule` on the IAccountability contract."""
Expand Down
2 changes: 0 additions & 2 deletions autonity/contracts/acu.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import web3
from web3.contract import contract

__version__ = "b0e1080d6fce220c9b3daefb57a35835d194695a"


class ACU:
"""ACU contract binding.
Expand Down
2 changes: 0 additions & 2 deletions autonity/contracts/auctioneer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import web3
from web3.contract import contract

__version__ = "b0e1080d6fce220c9b3daefb57a35835d194695a"


@dataclass
class Config:
Expand Down
Loading
Loading