-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Re-introduced Aztec CLI (#6734)
This PR reintroduces the Aztec CLI for use against deployed environments. It also contains deployment and other fixes for an initial devnet. --------- Co-authored-by: Alex Gherghisan <[email protected]> Co-authored-by: Mitchell Tracy <[email protected]> Co-authored-by: spypsy <[email protected]> Co-authored-by: Santiago Palladino <[email protected]> Co-authored-by: ludamad <[email protected]>
- Loading branch information
1 parent
d5550c6
commit a120015
Showing
84 changed files
with
4,278 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { ContractArtifact, FunctionArtifact, FunctionSelector } from '@aztec/foundation/abi'; | ||
export { type ContractArtifact, type FunctionArtifact, FunctionSelector } from '@aztec/foundation/abi'; | ||
export { loadContractArtifact, contractArtifactToBuffer, contractArtifactFromBuffer } from '@aztec/types/abi'; | ||
export { NoirCompiledContract } from '@aztec/types/noir'; | ||
export { type NoirCompiledContract } from '@aztec/types/noir'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { type FunctionCall } from '@aztec/circuit-types'; | ||
import { AztecAddress } from '@aztec/circuits.js'; | ||
|
||
import { type FeePaymentMethod } from './fee_payment_method.js'; | ||
|
||
/** | ||
* Does not pay fees. Will work until we enforce fee payment for all txs. | ||
*/ | ||
export class NoFeePaymentMethod implements FeePaymentMethod { | ||
constructor() {} | ||
|
||
getAsset() { | ||
return AztecAddress.ZERO; | ||
} | ||
|
||
getFunctionCalls(): Promise<FunctionCall[]> { | ||
return Promise.resolve([]); | ||
} | ||
|
||
getFeePayer(): Promise<AztecAddress> { | ||
return Promise.resolve(AztecAddress.ZERO); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.