{"action":"created","issue":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1921","repository_url":"https://api.github.com/repos/cosmos/cosmos-sdk","labels_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1921/labels{/name}","comments_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1921/comments","events_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1921/events","html_url":"https://github.com/cosmos/cosmos-sdk/issues/1921","id":347713544,"node_id":"MDU6SXNzdWUzNDc3MTM1NDQ=","number":1921,"title":"Implement a minimum fee mechanism ","user":{"login":"zmanian","id":93434,"node_id":"MDQ6VXNlcjkzNDM0","avatar_url":"https://avatars3.githubusercontent.com/u/93434?v=4","gravatar_id":"","url":"https://api.github.com/users/zmanian","html_url":"https://github.com/zmanian","followers_url":"https://api.github.com/users/zmanian/followers","following_url":"https://api.github.com/users/zmanian/following{/other_user}","gists_url":"https://api.github.com/users/zmanian/gists{/gist_id}","starred_url":"https://api.github.com/users/zmanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmanian/subscriptions","organizations_url":"https://api.github.com/users/zmanian/orgs","repos_url":"https://api.github.com/users/zmanian/repos","events_url":"https://api.github.com/users/zmanian/events{/privacy}","received_events_url":"https://api.github.com/users/zmanian/received_events","type":"User","site_admin":false},"labels":[{"id":969553658,"node_id":"MDU6TGFiZWw5Njk1NTM2NTg=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/core","name":"core","color":"fafad2","default":false},{"id":908833716,"node_id":"MDU6TGFiZWw5MDg4MzM3MTY=","url":"https://api.github.com/repos/cosmos/cosmos-sdk/labels/prelaunch","name":"prelaunch","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"AdityaSripal","id":14364734,"node_id":"MDQ6VXNlcjE0MzY0NzM0","avatar_url":"https://avatars2.githubusercontent.com/u/14364734?v=4","gravatar_id":"","url":"https://api.github.com/users/AdityaSripal","html_url":"https://github.com/AdityaSripal","followers_url":"https://api.github.com/users/AdityaSripal/followers","following_url":"https://api.github.com/users/AdityaSripal/following{/other_user}","gists_url":"https://api.github.com/users/AdityaSripal/gists{/gist_id}","starred_url":"https://api.github.com/users/AdityaSripal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdityaSripal/subscriptions","organizations_url":"https://api.github.com/users/AdityaSripal/orgs","repos_url":"https://api.github.com/users/AdityaSripal/repos","events_url":"https://api.github.com/users/AdityaSripal/events{/privacy}","received_events_url":"https://api.github.com/users/AdityaSripal/received_events","type":"User","site_admin":false},"assignees":[{"login":"AdityaSripal","id":14364734,"node_id":"MDQ6VXNlcjE0MzY0NzM0","avatar_url":"https://avatars2.githubusercontent.com/u/14364734?v=4","gravatar_id":"","url":"https://api.github.com/users/AdityaSripal","html_url":"https://github.com/AdityaSripal","followers_url":"https://api.github.com/users/AdityaSripal/followers","following_url":"https://api.github.com/users/AdityaSripal/following{/other_user}","gists_url":"https://api.github.com/users/AdityaSripal/gists{/gist_id}","starred_url":"https://api.github.com/users/AdityaSripal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdityaSripal/subscriptions","organizations_url":"https://api.github.com/users/AdityaSripal/orgs","repos_url":"https://api.github.com/users/AdityaSripal/repos","events_url":"https://api.github.com/users/AdityaSripal/events{/privacy}","received_events_url":"https://api.github.com/users/AdityaSripal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-08-05T16:49:50Z","updated_at":"2018-08-30T22:10:35Z","closed_at":null,"author_association":"MEMBER","body":"This is a prelaunch requirement. I've been part of a few in person discussions so I will document here.\r\n\r\nThe network needs to have an anti spam mechanism via a minimum fee. The minimum fee will also depend on relative value of the underlying token so it must be adjustable.\r\n\r\nThere seem to be roughly 3 possible designs.\r\n\r\n**Non-Consensus minimum fee**\r\n- Each validator sets a minimum fee locally in a config file. They reject any tx from the mempool with less than the required fee per gas. This has the implication of requiring `checkTx` to have depend on a config result. Potentially all nodes should set this value to prevent gossiping spam transactions.\r\n\r\n:point_up: @zmanian is a fan of this design.\r\n\r\n**Consensus Minimum fee**\r\n- Minimum fees are set in the consensus state via validator voting. This also allows setting new fee tokens. I believe @sunnya97 is a fan of this approach. Requires implementing something similar to governance with automatic parameter setting.\r\n\r\n- Algorithmically derived minimum fee. Have the minimum fee rise automatically as capacity is consumed and decrease if capacity is underutilized. Requires adding information about block capacity utilization to state.\r\n@jaekwon prefers this approach.\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/comments/417483614","html_url":"https://github.com/cosmos/cosmos-sdk/issues/1921#issuecomment-417483614","issue_url":"https://api.github.com/repos/cosmos/cosmos-sdk/issues/1921","id":417483614,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzQ4MzYxNA==","user":{"login":"ebuchman","id":2300911,"node_id":"MDQ6VXNlcjIzMDA5MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2300911?v=4","gravatar_id":"","url":"https://api.github.com/users/ebuchman","html_url":"https://github.com/ebuchman","followers_url":"https://api.github.com/users/ebuchman/followers","following_url":"https://api.github.com/users/ebuchman/following{/other_user}","gists_url":"https://api.github.com/users/ebuchman/gists{/gist_id}","starred_url":"https://api.github.com/users/ebuchman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebuchman/subscriptions","organizations_url":"https://api.github.com/users/ebuchman/orgs","repos_url":"https://api.github.com/users/ebuchman/repos","events_url":"https://api.github.com/users/ebuchman/events{/privacy}","received_events_url":"https://api.github.com/users/ebuchman/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T22:10:35Z","updated_at":"2018-08-30T22:10:35Z","author_association":"CONTRIBUTOR","body":"My understanding of the pre-launch scheme is a min_fee parameter in the config file that is only of interest to Gaia (not Tendermint) and which is used to inform validity of txs during CheckTx, but not during DeliverTx. "}}
{"actor":{"display_login":"ebuchman"}}