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

Proposals and governance:build-proposal command tests and fixes #421

Merged
merged 8 commits into from
Nov 13, 2024
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
5 changes: 5 additions & 0 deletions .changeset/afraid-seas-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/celocli': patch
---

fix governance:build-proposal with contracts from mento or which use solidity 0.8
5 changes: 5 additions & 0 deletions .changeset/famous-cherries-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/governance': patch
---

minor update to inquirer lib
5 changes: 5 additions & 0 deletions .changeset/weak-beers-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/governance': patch
---

Fix being unable to use 08 and mento contracts with proposal builder
4 changes: 4 additions & 0 deletions docs/sdk/governance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
### Modules

- [index](modules/index.md)
- [interactive-proposal-builder](modules/interactive_proposal_builder.md)
- [proposal-builder](modules/proposal_builder.md)
- [proposals](modules/proposals.md)
- [test-utils/globals](modules/test_utils_globals.md)
- [test-utils/setup.global](modules/test_utils_setup_global.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[@celo/governance](../README.md) / [interactive-proposal-builder](../modules/interactive_proposal_builder.md) / InteractiveProposalBuilder

# Class: InteractiveProposalBuilder

[interactive-proposal-builder](../modules/interactive_proposal_builder.md).InteractiveProposalBuilder

## Table of contents

### Constructors

- [constructor](interactive_proposal_builder.InteractiveProposalBuilder.md#constructor)

### Methods

- [outputTransactions](interactive_proposal_builder.InteractiveProposalBuilder.md#outputtransactions)
- [promptTransactions](interactive_proposal_builder.InteractiveProposalBuilder.md#prompttransactions)

## Constructors

### constructor

• **new InteractiveProposalBuilder**(`builder`): [`InteractiveProposalBuilder`](interactive_proposal_builder.InteractiveProposalBuilder.md)

#### Parameters

| Name | Type |
| :------ | :------ |
| `builder` | [`ProposalBuilder`](proposal_builder.ProposalBuilder.md) |

#### Returns

[`InteractiveProposalBuilder`](interactive_proposal_builder.InteractiveProposalBuilder.md)

#### Defined in

[packages/sdk/governance/src/interactive-proposal-builder.ts:14](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/governance/src/interactive-proposal-builder.ts#L14)

## Methods

### outputTransactions

▸ **outputTransactions**(): `Promise`\<`void`\>

#### Returns

`Promise`\<`void`\>

#### Defined in

[packages/sdk/governance/src/interactive-proposal-builder.ts:16](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/governance/src/interactive-proposal-builder.ts#L16)

___

### promptTransactions

▸ **promptTransactions**(): `Promise`\<[`ProposalTransactionJSON`](../interfaces/proposals.ProposalTransactionJSON.md)[]\>

#### Returns

`Promise`\<[`ProposalTransactionJSON`](../interfaces/proposals.ProposalTransactionJSON.md)[]\>

#### Defined in

[packages/sdk/governance/src/interactive-proposal-builder.ts:21](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/governance/src/interactive-proposal-builder.ts#L21)
Loading
Loading