# BIR-1: Pod Listing Cancellation

- Space: [Beanstalk Bug Bounty](https://snapshot.box/s:beanstalkbugbounty.eth.md)
- Author: 0xFEA5EB68F3a12c41261a6d16E7f974fd8B4Ab9FF
- State: Passed
- Voting type: Basic
- Start: 2022-10-26 01:12 UTC
- End: 2022-10-29 01:12 UTC
- Votes: 4
- Open in Snapshot: https://snapshot.box/#/s:beanstalkbugbounty.eth/proposal/0x1da231494fe8cf85edc50bf148b8557b3de8b0354018602b92075634d0e1f409

## Results

- For: 4 voting power, 100.0%
- Against: 0 voting power, 0.0%

## Proposal

## Proposer

Beanstalk Immunefi Committee

## BIR Process Note

Once a BIR passes, the Beanstalk Community Multisig (BCM) executes it by:
- Minting the corresponding number of Beans to cover the bug bounty and the 10% fee from Immunefi;
- Transferring the Beans corresponding to the bounty to the submitting party’s address; and
- Transferring the Beans corresponding to the 10% fee to Immunefi’s address.

## Bug

Farmers could cancel Pod Listings on behalf of Farmers by calling the `fillPodListing(...)` function with an input `beanAmount = 0`.

## Fix

Add the following check: `require(amount > 0, "Marketplace: Must fill > 0 Pods.");`.

The fix has been reviewed by Halborn.

See [EBIP-3: Pod Listing Cancellation](https://github.com/BeanstalkFarms/Beanstalk-Governance-Proposals/blob/master/bip/ebip/ebip-3-pod-listing-cancellation.md).

## Determination

* Potential practicable economic damage: This bug would not have resulted in any loss of funds.
* Impact: Medium
* Entitled to reward: Yes

## Bounty Amount

7,500 Beans. A total of 8,250 Beans will be minted by the BCM in order to cover both the bug bounty and the 10% Immunefi fee.

---

To vote or create proposals from an AI assistant, connect the Snapshot MCP at https://mcp.snapshot.box

