These are chat archives for ethereum/go-ethereum

7th
Aug 2015
linagee
@linagee
Aug 07 2015 00:48
@obscuren can you please break up this fight and award a winner? https://pay.reddit.com/r/ethtrader/comments/3g2ifb/gas_price_too_low/ctu9mwq
(because I'm not 99.99999% sure. Only about 90% sure.)
Now I'm actually about 40% sure I was wrong... :-/
Christopher Franko
@chrisfranko
Aug 07 2015 00:57
does gas price oracle automatically do this?
Anthony C. Eufemio
@tymat
Aug 07 2015 00:58
no gasPrice is only for suggested gasPrice
miners can ignore it
linagee
@linagee
Aug 07 2015 00:59
@tymat am I wrong in the above post or right? :(
Maybe I should ask Augur instead, lol.
16.5k, so close I can taste it!
Iuri Matias
@iurimatias
Aug 07 2015 01:02
who will do the first transaction!
linagee
@linagee
Aug 07 2015 01:02
I'd bet there will be a "n+1"-th challenge at that point.
@iurimatias 0xbb7
linagee
@linagee
Aug 07 2015 01:37
@iurimatias 4,000 gas limit away. Can you feel the excitement? :-D
Christopher Franko
@chrisfranko
Aug 07 2015 01:39
:D
Iuri Matias
@iurimatias
Aug 07 2015 01:40
2 hours ago I thought it was just 2 hours left :(
linagee
@linagee
Aug 07 2015 01:41
two weeks. :)
Anthony C. Eufemio
@tymat
Aug 07 2015 01:43
crap
you guys are also waiting for 21000
linagee
@linagee
Aug 07 2015 01:43
@iurimatias bitcoin ceo called me and told me all of the bitcoins would be on backorder on account of Ethereum launching
Anthony C. Eufemio
@tymat
Aug 07 2015 01:43
see who can vandalize with the first TX
LOL
I know it
sons a bitches
linagee
@linagee
Aug 07 2015 01:51
@tymat play the game: spot which OSes people are using who haven't upgraded yet. :smile:
is it Windows? is it Linux? :)
Anthony C. Eufemio
@tymat
Aug 07 2015 01:52
Windows
just a guess
Christopher Franko
@chrisfranko
Aug 07 2015 01:53
anyone mining on 1.0.0 should be slapped at this point lol
linagee
@linagee
Aug 07 2015 01:55
18k...
Nelson Castillo
@arhuaco
Aug 07 2015 01:57
80% voting up in the last 10 mins. If this continues, the first TX should be here in less than 1.2 hours.
So, perhaps we'll see the first TX in less than 2/3 hours....
linagee
@linagee
Aug 07 2015 01:58
@tymat someone please slap together a quick meteor page (could even be posted on .meteor.com) that helps people say "this is what I want to set gas prices to", then tells you what command line options to use. :-D
it sounds stupid to us, but not to people that are afraid of command line switches
Nelson Castillo
@arhuaco
Aug 07 2015 01:59
What is the default gas for a TX when I don't specify it?
linagee
@linagee
Aug 07 2015 02:00
RTFS. :-D
do you have to pay 25,000 gas to make a new account? how does that work exactly? (or is that only when a contract makes an account?)
Anthony C. Eufemio
@tymat
Aug 07 2015 02:04
nope
so accounts are just your keys
Nelson Castillo
@arhuaco
Aug 07 2015 02:04
@arhuaco I mean , when sending a TX.
Anthony C. Eufemio
@tymat
Aug 07 2015 02:04
when you send a TX you pay 21000 gas
Anthony C. Eufemio
@tymat
Aug 07 2015 02:04
that's the base price for a TX
linagee
@linagee
Aug 07 2015 02:05
21,000 is the base price, right?
Anthony C. Eufemio
@tymat
Aug 07 2015 02:05
if you need to include stuff (like anything in data, or a call to a contract function) you add those too
linagee
@linagee
Aug 07 2015 02:05
or is it 25,000? (that is the line I have highlighted)
oh wait, I think I get it. :-D
new contract = 25,000. sending from a presale wallet (or any other existing wallet) = 21,000.
Anthony C. Eufemio
@tymat
Aug 07 2015 02:06
that's for creating contracts
linagee
@linagee
Aug 07 2015 02:06
aha
Anthony C. Eufemio
@tymat
Aug 07 2015 02:06
from account to account should be 21000 only
Anthony C. Eufemio
@tymat
Aug 07 2015 02:07
I think it's CALLDATALOAD?
linagee
@linagee
Aug 07 2015 02:08
I can do 793 transactions with one ether of gas? :-D
found it!
linagee
@linagee
Aug 07 2015 02:09
(assuming gas prices don't go up, and they will)
Iuri Matias
@iurimatias
Aug 07 2015 02:09
ok ppl
start your engines
opening orders on kraken, 1eth for $100
Anthony C. Eufemio
@tymat
Aug 07 2015 02:10
HAH
linagee
@linagee
Aug 07 2015 02:10
@iurimatias sold! give me that $100. :D
Iuri Matias
@iurimatias
Aug 07 2015 02:10
:P
Nelson Castillo
@arhuaco
Aug 07 2015 02:11
@Bitcoinzie Thanks.
Anthony C. Eufemio
@tymat
Aug 07 2015 02:11
nobody is selling
linagee
@linagee
Aug 07 2015 02:12
@tymat interesting. I can have a contract that looks at the gaslimit. :D
block.gaslimit
I'll just have it tell me when everything gets to 21k. lol
Christopher Franko
@chrisfranko
Aug 07 2015 02:18
so everyone is racing to the exchange?
lol
Anthony C. Eufemio
@tymat
Aug 07 2015 02:19
lol
I'm not
Christopher Franko
@chrisfranko
Aug 07 2015 02:19
me ither :)
Anthony C. Eufemio
@tymat
Aug 07 2015 02:19
I'm just trying to get the first TX
Christopher Franko
@chrisfranko
Aug 07 2015 02:19
me2 haha
Anthony C. Eufemio
@tymat
Aug 07 2015 02:19
:-D
Christopher Franko
@chrisfranko
Aug 07 2015 02:19
may the odds be in your favor lol
watching that number go up though is like watching paint dry
Anthony C. Eufemio
@tymat
Aug 07 2015 02:20
lol
well I have a script to do it
Christopher Franko
@chrisfranko
Aug 07 2015 02:21
-cough- cheater -cough-
Anthony C. Eufemio
@tymat
Aug 07 2015 02:23
haha yep thanks to @caktux
gitterbridge
@gitterbridge
Aug 07 2015 02:24
caktux heheh
Anthony C. Eufemio
@tymat
Aug 07 2015 02:24
was referring to @linagee image
damn it's so close!
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 02:25
there's a reason why windows folks might be lagging behind.
and download the windows from Automated development builds, it's still 1.0.0
Christopher Franko
@chrisfranko
Aug 07 2015 02:26
yup
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 02:26
That's where theyre downloading from
not from releases
Anthony C. Eufemio
@tymat
Aug 07 2015 02:28
isn't there a chocolatey build for it?
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 02:28
ppl don't build
on linix too btw
if everyone was building the gas limit would be lifted long ago
Anthony C. Eufemio
@tymat
Aug 07 2015 02:29
I always build from source even on windows/Mac when possible
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 02:29
majority doesnt
gitterbridge
@gitterbridge
Aug 07 2015 02:30
caktux the develop branch shows 1.0.0 but does have the thawing PR merged, so the builds linked on the readme should be fine
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 02:32
ah OK! where is this bridged to?
linagee
@linagee
Aug 07 2015 02:32
is it time to pop the champagne yet? (j/k)
gitterbridge
@gitterbridge
Aug 07 2015 02:32
caktux #go-ethereum on freenode
Anthony C. Eufemio
@tymat
Aug 07 2015 02:34
my current soundtrack for this thaw: https://www.youtube.com/watch?v=Zsm4S1EKGGc
linagee
@linagee
Aug 07 2015 02:36
:+1:
my current soundtrack for launch: https://www.youtube.com/watch?v=gAjR4_CbPpQ
do they transform people into rockstars so often that they need a machine to do it? lol
Nelson Castillo
@arhuaco
Aug 07 2015 02:40
HI there. I put autoreload in the page: http://bb7b8287f3f0a933474a79eae42cbca977791171.xyz/count.html
linagee
@linagee
Aug 07 2015 02:40
or maybe I should be looking at it from a CI perspective. ;)
Nelson Castillo
@arhuaco
Aug 07 2015 02:41
When we get to 1 tx/block, I guess I'll update it to be "How long until 5 transactions per block".
Anthony C. Eufemio
@tymat
Aug 07 2015 02:41
lol
Iuri Matias
@iurimatias
Aug 07 2015 02:45
I just want to see the first transaction go in, then I'll hit the sack
plot twist: there is a hug bug, no transaction goes through
can you imagine... :P
Christopher Franko
@chrisfranko
Aug 07 2015 02:46
that would be funny
linagee
@linagee
Aug 07 2015 02:46
@iurimatias get ready for a surprise!
Iuri Matias
@iurimatias
Aug 07 2015 02:47
then we have to convince all these miners to update again
Anthony C. Eufemio
@tymat
Aug 07 2015 02:47
it should be fine
Christopher Franko
@chrisfranko
Aug 07 2015 02:47
should
Anthony C. Eufemio
@tymat
Aug 07 2015 02:47
it's the same code as before
back in Olympic days
lol I love all the publich shaming going on reddit
linagee
@linagee
Aug 07 2015 02:48
does everyone have ready, for instance, an eBay replacement? :-D
Christopher Franko
@chrisfranko
Aug 07 2015 02:48
my first contract is an immortal version of me
linagee
@linagee
Aug 07 2015 02:49
19.5k...
Christopher Franko
@chrisfranko
Aug 07 2015 02:49
O_O
Anthony C. Eufemio
@tymat
Aug 07 2015 02:50
what if some large miner came with like 1000 GH/sec running geth 1.0.0
linagee
@linagee
Aug 07 2015 02:50
is Kraken sitting on a "Go" switch?
Anthony C. Eufemio
@tymat
Aug 07 2015 02:50
21000 is for one single TX
linagee
@linagee
Aug 07 2015 02:50
@tymat then we'd have to find that person and shut it off
Anthony C. Eufemio
@tymat
Aug 07 2015 02:50
@linagee plot twist.. it's the NSA
linagee
@linagee
Aug 07 2015 02:50
@tymat then we have to start all over again? (kidding)
only one transaction per 10 hours (?) of waiting. :)
Anthony C. Eufemio
@tymat
Aug 07 2015 02:51
I think Kraken will wait for 24 hours
linagee
@linagee
Aug 07 2015 02:51
pff, that's dumb
Jorge
@jmiehau
Aug 07 2015 02:51
I will have a look to txpool.status seconds later the 21kgasblock
Anthony C. Eufemio
@tymat
Aug 07 2015 02:51
are you guys looking to dump?
linagee
@linagee
Aug 07 2015 02:51
@tymat we'll have a decentralized solution in place to replace them by then. this is as much a race for them as everyone.
@tymat dump fiat, sure. :-D
which will come first? decentralized trading or kraken deciding to open its books?
Anthony C. Eufemio
@tymat
Aug 07 2015 02:53
just wanna be able to shapeshift my Doge to ETH
decentralized trading needs more gas
once we get to 21000 there will be 1 TX per block at least
linagee
@linagee
Aug 07 2015 02:57
there's a really easy solution to that

neverforget

linagee
@linagee
Aug 07 2015 02:57
@tymat charge $1,000 per TX (for gas) as a miner.
Anthony C. Eufemio
@tymat
Aug 07 2015 02:57
HAHA
Christopher Franko
@chrisfranko
Aug 07 2015 02:57
@arhuaco man your junk code on github is probably the most organized junk folder ive ever seen
linagee
@linagee
Aug 07 2015 02:58
??? obviously the bandwidth is REALLY in limited supply!! :)
@tymat it's not luck to get it in there. it should be a luxury!
Nelson Castillo
@arhuaco
Aug 07 2015 02:58
@chrisfranko I think I've had it for 10 years or so :-)
Christopher Franko
@chrisfranko
Aug 07 2015 02:59
nearly 20k O_O
linagee
@linagee
Aug 07 2015 02:59
19.99999999
21 = blackjack?
Christopher Franko
@chrisfranko
Aug 07 2015 03:01
si
linagee
@linagee
Aug 07 2015 03:02
does that mean I can play blackjack using Ethereum? It's practically an endorsement! lol
Anthony C. Eufemio
@tymat
Aug 07 2015 03:02
almost there
linagee
@linagee
Aug 07 2015 03:03
get ready for a surprise?
where is obscuren? out partying?
taking a break? lol
Christopher Franko
@chrisfranko
Aug 07 2015 03:03
i feel like someone is trolling, the number of people miningon 1.0.0 is going up lol
Anthony C. Eufemio
@tymat
Aug 07 2015 03:05
they're windows
shouldn't be too hard to crash them
linagee
@linagee
Aug 07 2015 03:06
This message was deleted
linagee
@linagee
Aug 07 2015 03:13
20.041 k
Anthony C. Eufemio
@tymat
Aug 07 2015 03:13
20256
20310
linagee
@linagee
Aug 07 2015 03:14
@tymat should be like this to get people used to it: "Limit: 20256 gas" :)
Christopher Franko
@chrisfranko
Aug 07 2015 03:14
ita happening!
linagee
@linagee
Aug 07 2015 03:15
I don't see any transactions yet. :P
Anthony C. Eufemio
@tymat
Aug 07 2015 03:15
did a miner just upgrade?
linagee @linagee buys some gas
Christopher Franko
@chrisfranko
Aug 07 2015 03:17
negative
linagee
@linagee
Aug 07 2015 03:18
I hope Stephan has his finger on the button to launch a blog post. :P
Rocky Fikki
@rfikki
Aug 07 2015 03:19
20436
Jorge
@jmiehau
Aug 07 2015 03:19
finally it works! https://stats.ethdev.com/
Anthony C. Eufemio
@tymat
Aug 07 2015 03:23
20737
almost there
linagee
@linagee
Aug 07 2015 03:24
that is very awesome. I mined a block! with CPU mining! yay! :-D
Jonathan Brown
@ethernomad
Aug 07 2015 03:24
@linagee cool!
Rocky Fikki
@rfikki
Aug 07 2015 03:25
Really cool
linagee
@linagee
Aug 07 2015 03:25
It's a computer I usually leave on. (not in a pool)
Rocky Fikki
@rfikki
Aug 07 2015 03:25
What was your hashrate?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:25
20813
linagee
@linagee
Aug 07 2015 03:25
163,225
mined at difficulty: 1,368,309,118,004
Christopher Franko
@chrisfranko
Aug 07 2015 03:26
O_O
linagee
@linagee
Aug 07 2015 03:26
not sure what my expected payout is with that
1 / difficulty?
or.... difficulty / hashrate?
every 139,716.04819564 minutes?
every 97 days?
my math may be screwed up. (and obviously, Ethereum has not been around 97 days, so, incredibly lucky?)
Rocky Fikki
@rfikki
Aug 07 2015 03:27
That is an expensive block...
linagee
@linagee
Aug 07 2015 03:28
? why
Rocky Fikki
@rfikki
Aug 07 2015 03:28
If it takes that long to mine
linagee
@linagee
Aug 07 2015 03:28
ah, lol
paulpaschos
@paulpaschos
Aug 07 2015 03:28
20908 / 21000
Iuri Matias
@iurimatias
Aug 07 2015 03:28
92 to go
linagee
@linagee
Aug 07 2015 03:29
20965
Jorge
@jmiehau
Aug 07 2015 03:29
:)
linagee
@linagee
Aug 07 2015 03:29
closer and closer
Anthony C. Eufemio
@tymat
Aug 07 2015 03:30
very long block times?
or is that just stats page?
linagee
@linagee
Aug 07 2015 03:30
20984
21003
!!!!
Iuri Matias
@iurimatias
Aug 07 2015 03:30
it's there
Anthony C. Eufemio
@tymat
Aug 07 2015 03:30
20984
linagee
@linagee
Aug 07 2015 03:30
happy new year Ethereum day!
Bitcoinzie
@Bitcoinzie
Aug 07 2015 03:30
woowhoo
linagee
@linagee
Aug 07 2015 03:30
21003 again. stay there! :)
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
web3.eth.getTransaction('0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060')
{ hash: '0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060',
nonce: 0,
blockHash: '0x4e3a3754410177e6937ef1f84bba68ea139e8d1a2258c5f85db9f1cd715a1bdd',
blockNumber: 46147,
transactionIndex: 0,
from: '0xa1e4380a3b1f749673e270229993ee55f35663b4',
to: '0x5df9b87991262f6ba471f09758cde1c0fc1de734',
value: { [String: '31337'] s: 1, e: 4, c: [ 31337 ] },
gas: 21000,
gasPrice: { [String: '50000000000000'] s: 1, e: 13, c: [ 50000000000000 ] },
input: '0x' }
Christopher Franko
@chrisfranko
Aug 07 2015 03:31
:D
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
did I get it?
who was it
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
ME!
Christopher Franko
@chrisfranko
Aug 07 2015 03:31
tymat
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
WOOT
Christopher Franko
@chrisfranko
Aug 07 2015 03:31
congrats
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
FIRST TX ON ETHEREUM!
linagee
@linagee
Aug 07 2015 03:31
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
YES
Christopher Franko
@chrisfranko
Aug 07 2015 03:31
i take it registrar doesnt work"? lol
Iuri Matias
@iurimatias
Aug 07 2015 03:31
wow dude!!!
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
WAT!
Rocky Fikki
@rfikki
Aug 07 2015 03:31
Sweeeeettttt
Anthony C. Eufemio
@tymat
Aug 07 2015 03:31
HAHAHA
holy moly!
linagee
@linagee
Aug 07 2015 03:31
did someone say: "Come here Mr. Watson, I want you!"
Jorge
@jmiehau
Aug 07 2015 03:31
haha, welcome @tymat !!
Rocky Fikki
@rfikki
Aug 07 2015 03:32
Congrats @tymat
paulpaschos
@paulpaschos
Aug 07 2015 03:32
Congrats DEV!!!
Jonathan Brown
@ethernomad
Aug 07 2015 03:32
Cool!
Iuri Matias
@iurimatias
Aug 07 2015 03:32
how much is a ada?
Nelson Castillo
@arhuaco
Aug 07 2015 03:32
Great!
Iuri Matias
@iurimatias
Aug 07 2015 03:32
only 1 transaction
Anthony C. Eufemio
@tymat
Aug 07 2015 03:32
yep
Iuri Matias
@iurimatias
Aug 07 2015 03:33
thought there would be a crazy queue
Anthony C. Eufemio
@tymat
Aug 07 2015 03:33
I had to set a high gasPrice to get priority
Rocky Fikki
@rfikki
Aug 07 2015 03:33
To the moon we go.
Anthony C. Eufemio
@tymat
Aug 07 2015 03:33
woot
31337 wei
Nelson Castillo
@arhuaco
Aug 07 2015 03:33
The limit for 5 TXs is 21000 * 5?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:34
yes
Christopher Franko
@chrisfranko
Aug 07 2015 03:34
whats it take to use the registrar?
Nelson Castillo
@arhuaco
Aug 07 2015 03:34
@tymat OK...
Anthony C. Eufemio
@tymat
Aug 07 2015 03:34
registrar won't be deployed
not enough gas for it
Christopher Franko
@chrisfranko
Aug 07 2015 03:35
how much gas does that take?
linagee
@linagee
Aug 07 2015 03:35
can someone please tell me what I'm doing wrong? :(
eth.sendTransaction({from:eth.coinbase, to:eth.coinbase, value: web3.toWei(0.5, "ether"), gasLimit: 21000})
Anthony C. Eufemio
@tymat
Aug 07 2015 03:35
what are you getting?
linagee
@linagee
Aug 07 2015 03:35
Exceeds block gas limit
but I see it still shows 21288
Iuri Matias
@iurimatias
Aug 07 2015 03:36
strange
Jonathan Brown
@ethernomad
Aug 07 2015 03:36
congrats @tymat !
Iuri Matias
@iurimatias
Aug 07 2015 03:36
I hope this is not the plot twist becoming true afterall :S
Christopher Franko
@chrisfranko
Aug 07 2015 03:36
lol i get exceeds block gas limit too hahahaha
Iuri Matias
@iurimatias
Aug 07 2015 03:37
your on 1.0.1 right?
Christopher Franko
@chrisfranko
Aug 07 2015 03:38
yup
linagee
@linagee
Aug 07 2015 03:38

I'm doing exactly the example now:

eth.sendTransaction({from:eth.coinbase, to:eth.accounts[1], value: web3.toWei(0.05, "ether")})

still exceeds block gas limit. :(

does that mean I have to retry because someone beat me to it?
arandyp
@arandyp
Aug 07 2015 03:39
I'm up lets try this thing :)
linagee
@linagee
Aug 07 2015 03:39
@arandyp send me a micro amount of ether!
let'
Christopher Franko
@chrisfranko
Aug 07 2015 03:39
{eth.accounts[2], to: '0xb5ce1861d98e85c84531dbc18720278328fd97f6', value: web3.toWei(1, "ether")})
Exceeds block gas limit
at InvalidResponse (<anonymous>:-60926:-126)
at send (<anonymous>:-124886:-126)
at sendTransaction (<anonymous>:-113803:-126)
at <anonymous>:1:1
linagee
@linagee
Aug 07 2015 03:40
let's make history! :-D 0xc9d4035f4a9226d50f79b73aafb5d874a1b6537e
@chrisfranko I get that too
Anthony C. Eufemio
@tymat
Aug 07 2015 03:40
yeah
Christopher Franko
@chrisfranko
Aug 07 2015 03:40
1.0.1 on ubuntu, and also 1.0.1 on windows
Anthony C. Eufemio
@tymat
Aug 07 2015 03:40
so once there's a TX already broadcast
Rocky Fikki
@rfikki
Aug 07 2015 03:40
lol. Please send me some test ETH: 0x8394a052eb6c32fb9defcaabc12fcbd8fea0b8a8
Anthony C. Eufemio
@tymat
Aug 07 2015 03:40
you won't get it
linagee
@linagee
Aug 07 2015 03:40
@tymat can you send me a penny of windows please? 0xc9d4035f4a9226d50f79b73aafb5d874a1b6537e
Anthony C. Eufemio
@tymat
Aug 07 2015 03:40
if I can get it
linagee
@linagee
Aug 07 2015 03:40
This message was deleted
penny of ether
wow, hands don't work, lol
Iuri Matias
@iurimatias
Aug 07 2015 03:41
can you send me 1000 ether or something, for test purposes
:P
Anthony C. Eufemio
@tymat
Aug 07 2015 03:41
HAHA
linagee @linagee breaths
Iuri Matias
@iurimatias
Aug 07 2015 03:41
in the olympic spirit
paulpaschos
@paulpaschos
Aug 07 2015 03:41
first ETH transaction cropped v2.png
Iuri Matias
@iurimatias
Aug 07 2015 03:41
nice
for the history books
linagee
@linagee
Aug 07 2015 03:41
I think we have released the Kraken
arandyp
@arandyp
Aug 07 2015 03:42
sender is not defined :(
Iuri Matias
@iurimatias
Aug 07 2015 03:42
alright guys , see you in a few hours, gonna hit the sack
linagee
@linagee
Aug 07 2015 03:42
can anyone else get it working or just "Exceeds block gas limit"?
Iuri Matias
@iurimatias
Aug 07 2015 03:42
happy to witness the .. 3 transactions :p
hope this gas limit is not a big issue
Anthony C. Eufemio
@tymat
Aug 07 2015 03:43
yeah you will exceed gas limit
unless you're the first to publish your TX
for that block
linagee
@linagee
Aug 07 2015 03:44
so I have to try it repeatedly?
Jonathan Brown
@ethernomad
Aug 07 2015 03:44
1 tx per bock ATM
Christopher Franko
@chrisfranko
Aug 07 2015 03:44
well considering there isnt many txs showing up, i dont think people are fighting over it
linagee
@linagee
Aug 07 2015 03:44
either that or they could/should raise the gas limit
er, gas price
Jonathan Brown
@ethernomad
Aug 07 2015 03:45
I assume a tx stays in the mempool until there is a block with room for it?
Christopher Franko
@chrisfranko
Aug 07 2015 03:45
doesnt seem so
linagee
@linagee
Aug 07 2015 03:45
feature request time. ;)
Anthony C. Eufemio
@tymat
Aug 07 2015 03:46
lolz
Jonathan Brown
@ethernomad
Aug 07 2015 03:46
I'm not sure where the "Exceeds block gas limit" comes from. Just client side?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:47
it sees the pending TX queue
Christopher Franko
@chrisfranko
Aug 07 2015 03:49
so no one has this problem but linagee and i?
Bitcoinzie
@Bitcoinzie
Aug 07 2015 03:49
i have it too
Jonathan Brown
@ethernomad
Aug 07 2015 03:49
Yeah the client knows there is no possibility of it getting mined, so it doesn't send it at all
Anthony C. Eufemio
@tymat
Aug 07 2015 03:49
0xe17d4d0c4596ea7d5166ad5da600a6fdc49e26e0680135a2f7300eedfd0d8314
did this clear?
@linagee that was for you
Christopher Franko
@chrisfranko
Aug 07 2015 03:50
there has been a total of 6 tx's
Nelson Castillo
@arhuaco
Aug 07 2015 03:50
@drupalnomad Oh. So this is different than with Bitcoin where the mempool just grows and grows.
linagee
@linagee
Aug 07 2015 03:50
@tymat YOU ARE AWESOME!!!!
Anthony C. Eufemio
@tymat
Aug 07 2015 03:51
:-D
and look at the data
linagee
@linagee
Aug 07 2015 03:51
@tymat I have a piece of history now!!! :)
Christopher Franko
@chrisfranko
Aug 07 2015 03:51
Amount: 31.337 Ada
Account Nonce: 1
Gas Price: 50 Szabo
Gas Used: 21,750
Tx Price: 1.0875 Ether
linagee
@linagee
Aug 07 2015 03:51
0x74796d3474406469676978?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:51
web3.toAscii(web3.eth.getTransaction('0xe17d4d0c4596ea7d5166ad5da600a6fdc49e26e0680135a2f7300eedfd0d8314').input)
linagee
@linagee
Aug 07 2015 03:52
ah. hahaha. :+1: tym4t@digix
Christopher Franko
@chrisfranko
Aug 07 2015 03:52
0xb5ce1861d98e85c84531dbc18720278328fd97f6
lol
linagee
@linagee
Aug 07 2015 03:52
@tymat who is tym4t?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:52
my twitter?
linagee
@linagee
Aug 07 2015 03:52
ah
Jonathan Brown
@ethernomad
Aug 07 2015 03:52
@arhuaco this is different. The error is because the tx is too big for any block. I assume there is still a mempool for unconfirmed transactions
linagee
@linagee
Aug 07 2015 03:53
so what the hell is this with people sending 100 ethers? lol
ohhhhhhhhhhh
quick, someone send me a pizza. or trade with me for a pizza. :-D
Anthony C. Eufemio
@tymat
Aug 07 2015 03:54
who is sending 100 ETH?
lol
Christopher Franko
@chrisfranko
Aug 07 2015 03:55
hell, who is sending anything lol i cant send shit
linagee
@linagee
Aug 07 2015 03:55
@tymat let's set the price right here. Do you have access to Papa Johns? I can send you a gyft card for pizza if you send me the value in ether. :-D
Anthony C. Eufemio
@tymat
Aug 07 2015 03:55
man I paid a lot for that TX
:D
whoever the miner was also made history
first mined TX
linagee
@linagee
Aug 07 2015 03:56
hahaha. you're saying you already want the pizza. hahah. :-D
Jonathan Brown
@ethernomad
Aug 07 2015 03:56
from IRC: <Semiel> In my case, it took me until now to realize that you have to manually set the gas on your transaction to 21000
Anthony C. Eufemio
@tymat
Aug 07 2015 03:56
yeah
Christopher Franko
@chrisfranko
Aug 07 2015 03:56
interesting someone sent a 0
Anthony C. Eufemio
@tymat
Aug 07 2015 03:56
it defaults to 90000
linagee
@linagee
Aug 07 2015 03:56
@tymat we'd stand a better chance at being the first pizza that way anyway. :P
@tymat deal
Anthony C. Eufemio
@tymat
Aug 07 2015 03:57
so you have to do gasPrice: web3.toWei(50, 'szabo'), gas: 21000
I paid 50 szabo for it
worth it tho
Christopher Franko
@chrisfranko
Aug 07 2015 03:57
whats smaller than a szabo
all the new names for branding
Anthony C. Eufemio
@tymat
Aug 07 2015 03:57
shannon
ohmannomma
@ohmannomma
Aug 07 2015 03:58
why i still have the gas limits exceeded?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:58
you have to be first to publish
Christopher Franko
@chrisfranko
Aug 07 2015 03:58
its because you have to set the gas price
linagee
@linagee
Aug 07 2015 03:58
@tymat damnit. Gyft would be so slow and I only have an existing card with $0.29 of pizza, lol. :-D
Anthony C. Eufemio
@tymat
Aug 07 2015 03:58
also it defaults to 90000 gas
linagee
@linagee
Aug 07 2015 03:58
@tymat is ok?
Anthony C. Eufemio
@tymat
Aug 07 2015 03:58
I think
so you have to manually set to 21000
linagee
@linagee
Aug 07 2015 03:59
@tymat how do you want the Gyft card number?
here or privately?
keivibi
@keivibi
Aug 07 2015 03:59
hi, I still get the "Exceeds block gas limit" with geth 1.0.0
Anthony C. Eufemio
@tymat
Aug 07 2015 03:59
whisper
when it's ready!
linagee
@linagee
Aug 07 2015 03:59
@tymat I'd put the pizza number in the blockchain if you could tell me how
ohmannomma
@ohmannomma
Aug 07 2015 04:00
is it like value: web3.toWei(1, "ether"), gasPrice: web3.toWei(50, 'szabo'), gas: 21000})?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:00
yeah
that should work
Christopher Franko
@chrisfranko
Aug 07 2015 04:00
0xe92bfc194a46e254244a83d8f1d07475cc28c871c12f53c3f9257d3af18e91b5
Anthony C. Eufemio
@tymat
Aug 07 2015 04:00
but you have to keep spamming it
Christopher Franko
@chrisfranko
Aug 07 2015 04:00
tada
Anthony C. Eufemio
@tymat
Aug 07 2015 04:00
congrats!
Christopher Franko
@chrisfranko
Aug 07 2015 04:00
didnt have to spam at all it just went through
ohmannomma
@ohmannomma
Aug 07 2015 04:00
it doesnt
Anthony C. Eufemio
@tymat
Aug 07 2015 04:00
you can put some message now
ohmannomma
@ohmannomma
Aug 07 2015 04:01
i dont get it..
Anthony C. Eufemio
@tymat
Aug 07 2015 04:01
data: web3.fromAscii('your message here')
Christopher Franko
@chrisfranko
Aug 07 2015 04:01
example
eth.sendTransaction({from: eth.accounts[2], to: '0xb5ce1861d98e85c84531dbc18720278328fd97f6', value: web3.toWei(1, "ether"), gasPrice: web3.toWei(120, 'gwei'), gas: 21000})
Anthony C. Eufemio
@tymat
Aug 07 2015 04:01
yep
you have to keep doing it
put it in a try/catch
and just clearInterval(yourInterval)
linagee
@linagee
Aug 07 2015 04:02
@tymat I got a better deal. Just got a $10 gift card in my hands now. :-D
that's like a whole pizza, not just a penny of a pizza, lol.
Anthony C. Eufemio
@tymat
Aug 07 2015 04:02
LOL
Jorge
@jmiehau
Aug 07 2015 04:03
txpool.status
{
pending: 3,
queued: 0
}
Christopher Franko
@chrisfranko
Aug 07 2015 04:03
intrinsic gas too low?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:03
intrinsic means you have to set your gas higher
if you send extra message
Christopher Franko
@chrisfranko
Aug 07 2015 04:03
ahh
Anthony C. Eufemio
@tymat
Aug 07 2015 04:03
it was like 21800 for me to include a message
linagee
@linagee
Aug 07 2015 04:03
@tymat are you ok with gitter chat for the pizza?
pvt
Anthony C. Eufemio
@tymat
Aug 07 2015 04:03
sure?
ohmannomma
@ohmannomma
Aug 07 2015 04:04
it doesnt work
Anthony C. Eufemio
@tymat
Aug 07 2015 04:04
what are you getting?
maybe your message is larger?
linagee
@linagee
Aug 07 2015 04:04
@tymat now you have to tell me you got the pizza!
ohmannomma
@ohmannomma
Aug 07 2015 04:04
exceeds block gas limit
Anthony C. Eufemio
@tymat
Aug 07 2015 04:04
you either get intrinsic gas too low
linagee
@linagee
Aug 07 2015 04:04
@tymat everyone here are witnesses!
Anthony C. Eufemio
@tymat
Aug 07 2015 04:04
@linagee will take a pic
ohmannomma
@ohmannomma
Aug 07 2015 04:04
would this work?
arandyp
@arandyp
Aug 07 2015 04:04
How would that work out for windows?
linagee
@linagee
Aug 07 2015 04:04
@tymat you got the number though, right?
ohmannomma
@ohmannomma
Aug 07 2015 04:04
eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(1, "ether"), gasPrice: web3.toWei(120, 'gwei'), gas: 21000})
from account 0 to account 1
arandyp
@arandyp
Aug 07 2015 04:04
was using this amount = web3.toWei(0.01, "ether");
Anthony C. Eufemio
@tymat
Aug 07 2015 04:05
yeah
did you unlock sender account?
ohmannomma
@ohmannomma
Aug 07 2015 04:05
yes
keivibi
@keivibi
Aug 07 2015 04:05
@chrisfranko I get the "Gas price too low for acceptance" with your command
Anthony C. Eufemio
@tymat
Aug 07 2015 04:05
I set gasPrice way high for my TX
LOL
Christopher Franko
@chrisfranko
Aug 07 2015 04:06
keiv try upping it
the price that is
Anthony C. Eufemio
@tymat
Aug 07 2015 04:06
just made the first pizza TX on Ethereum with @linagee
linagee
@linagee
Aug 07 2015 04:06
YES!
first pizza TX
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 04:06
:D
linagee
@linagee
Aug 07 2015 04:06
how do you convert 31.337 Ada to ether?
$10 for 31.337 Ada
Christopher Franko
@chrisfranko
Aug 07 2015 04:06
eth.sendTransaction({from: eth.accounts[2], to: '0xb5ce1861d98e85c84531dbc18720278328fd97f6', value: web3.toWei(1, "ether"), gasPrice: web3.toWei(200, 'gwei'), gas: 22000,data: web3.fromAscii('Franko is Freedom.')})
linagee
@linagee
Aug 07 2015 04:07
eth.toWei or something?
ah, web3
ohmannomma
@ohmannomma
Aug 07 2015 04:08
how can i get a less verbose console?
arandyp
@arandyp
Aug 07 2015 04:08
web3.toWei(1, "ether"), gasPrice: web3.toWei(120, 'gwei'), gas: 21000} gives me unexpected token
linagee
@linagee
Aug 07 2015 04:08
web3.fromWei(web3.toWei(31.337, 'Ada'), "ether") = 0.000000000000031337
10 / web3.fromWei(web3.toWei(31.337, 'Ada'), "ether") = $319,111,593,324,185/ether
Christopher Franko
@chrisfranko
Aug 07 2015 04:09
web3.toAscii(web3.eth.getTransaction('0x0e2a5aa2d5cabaa90d3d00c9d8e5f3fb6e48e398df6b60a70bfecd584d33974c').input)
:)
linagee
@linagee
Aug 07 2015 04:09
@tymat we may have just made the silliest transaction in the history of cryptocurrency. :-D
@tymat $319 trillion dollars per ether? lol
Christopher Franko
@chrisfranko
Aug 07 2015 04:09
@ohmannomma .\geth.exe --rpc console 2>/ethlog.log
ohmannomma
@ohmannomma
Aug 07 2015 04:10
just geth console 2 ?
linagee
@linagee
Aug 07 2015 04:10
@tymat should I even bother sending it to /r/ethtrader or would it just be hilarious? :-D
Christopher Franko
@chrisfranko
Aug 07 2015 04:10
doit
keivibi
@keivibi
Aug 07 2015 04:10
what's this? Intrinsic gas too low
Christopher Franko
@chrisfranko
Aug 07 2015 04:10
raise your gaslimit
Anthony C. Eufemio
@tymat
Aug 07 2015 04:11
LOL
Christopher Franko
@chrisfranko
Aug 07 2015 04:11
from like 21k to say 23k
linagee
@linagee
Aug 07 2015 04:11
https://etherchain.org/block/46214 $10 Papa John's card for 0.000000000000031337 ether, $319 trillion dollars per ether
Anthony C. Eufemio
@tymat
Aug 07 2015 04:11
what are the other TXs?
arandyp
@arandyp
Aug 07 2015 04:11
could someone please help me figur out the proper dos cmnd line in winsows to send something?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:12
so next one is first TX on Serenity
:shipit:
he'll have to take photographic evidence and post it there later, hopefully. :-D ^^^
arandyp
@arandyp
Aug 07 2015 04:14
amount = web3.toWei(1, "ether"), gasPrice = web3.toWei(120, "gwei"), gas = 21000; seems to work
but exceeds gaslimit
Anthony C. Eufemio
@tymat
Aug 07 2015 04:14
so I made first TX with data as well
Christopher Franko
@chrisfranko
Aug 07 2015 04:15
i wonder if i made the second one with data
Jorge
@jmiehau
Aug 07 2015 04:15
I love how smoothly we are taking off. It is going to be studied on the Blockchain technology lectures
ohmannomma
@ohmannomma
Aug 07 2015 04:16
eth.sendTransaction({from: eth.accounts[1], to: eth.accounts[2], value: web3.toWei(1, "ether"), gasPrice: web3.toWei(120, 'gwei'), gas: 21000})
keivibi
@keivibi
Aug 07 2015 04:16
can't make the messege go thru..with web3.fromAscii...get the Exceeds block gas limit
ohmannomma
@ohmannomma
Aug 07 2015 04:16
keeps saying excedeed gas limits
Christopher Franko
@chrisfranko
Aug 07 2015 04:17
@ohmannomma thats because the gasprice is higher now
try making it 400
gwei
Anthony C. Eufemio
@tymat
Aug 07 2015 04:17
yeah you have to get lucky to be the first for the next block
Christopher Franko
@chrisfranko
Aug 07 2015 04:17
web3.toAscii(web3.eth.getTransaction('0x0e2a5aa2d5cabaa90d3d00c9d8e5f3fb6e48e398df6b60a70bfecd584d33974c').input)
makes me happy
immortalized
tymat how much gas does the registrar take?
90k?
ohmannomma
@ohmannomma
Aug 07 2015 04:18
i dont get the meaning of this..
Christopher Franko
@chrisfranko
Aug 07 2015 04:18
eth.sendTransaction({from: eth.accounts[1], to: eth.accounts[2], value: web3.toWei(1, "ether"), gasPrice: web3.toWei(350, 'gwei'), gas: 21000})
try that
linagee
@linagee
Aug 07 2015 04:19
@chrisfranko that worked, hah
:+1:
and it's on the blockchain! wee
Christopher Franko
@chrisfranko
Aug 07 2015 04:22
:)
linagee
@linagee
Aug 07 2015 04:23
what is the smallest smart contract you could make? time for some more firsts? (how big is greeter?)
Anthony C. Eufemio
@tymat
Aug 07 2015 04:23
which exchange will make the first ETH to crypto trade?
@linagee yeah
it will be awhile
linagee
@linagee
Aug 07 2015 04:25
yikes. Greeter will take: Creation: (unknown) + 95200
and: Creation: 20181 + 42600 (62781)
arandyp
@arandyp
Aug 07 2015 04:25
@chrisfranko could u do an example for Windows maybe?
cosmicv
@cosmicv
Aug 07 2015 04:26
Congrats everyone! History in the making!
linagee
@linagee
Aug 07 2015 04:26
so maybe we can do greeter by gas limit = 158k? (maybe)
@cosmicv :+1:
Rocky Fikki
@rfikki
Aug 07 2015 04:26
Do a greeter light
linagee
@linagee
Aug 07 2015 04:26
@rfikki do one instruction that just returns true to you. :)
@tymat do you think I could do this? https://gist.github.com/linagee/5d225fb36b480e67fff5
2000 + 41 gas for creation??
could this have been done a long time ago? lol
(it does say gas estimate)
Anthony C. Eufemio
@tymat
Aug 07 2015 04:30
okay I think contracts will be around 90000
solidity gas estimates don't work well
ohmannomma
@ohmannomma
Aug 07 2015 04:31
how can i list all the accounts and balance in the console?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:32
This message was deleted
Rocky Fikki
@rfikki
Aug 07 2015 04:32
function checkAllBalances() {
var i =0;
eth.accounts.forEach( function(e){
console.log(" eth.accounts["+i+"]: " + e + " \tbalance: " + web3.fromWei(eth.getBalance(e), "ether") + " ether");
i++;
})
};
Anthony C. Eufemio
@tymat
Aug 07 2015 04:33
web3.eth.accounts.forEach(function(account) { console.log(account + " " + web3.eth.getBalance(account)); });
linagee
@linagee
Aug 07 2015 04:34
here is a better first Solidity contract: https://gist.github.com/linagee/ba00cd53daa4907366e3
it will take gas: 32,663
when you have the contract and execute go() it will return back "ETHEREUM!"
:-D
It's a pretty damned simple one. If someone can simplify even more....
maybe using LLL or something? hah
Anthony C. Eufemio
@tymat
Aug 07 2015 04:35
yeah haha
linagee
@linagee
Aug 07 2015 04:35
but then you probably couldn't use the nice ABI
Anthony C. Eufemio
@tymat
Aug 07 2015 04:35
LLL will be more optimized that solidity
well you can make your own
linagee
@linagee
Aug 07 2015 04:36
32,663 for my "minimum Solidity test". someone record that gas number as something we'll want to keep track of. :)
Anthony C. Eufemio
@tymat
Aug 07 2015 04:36
that's deploy or execute?
linagee
@linagee
Aug 07 2015 04:36
I tried returning a string from the constructor and it wasn't having any of that, hah.
Anthony C. Eufemio
@tymat
Aug 07 2015 04:36
deploy should be at least 90000 I think
linagee
@linagee
Aug 07 2015 04:36
@tymat that's deploy. execute: unknown
Anthony C. Eufemio
@tymat
Aug 07 2015 04:36
more opcodes to deploy
linagee
@linagee
Aug 07 2015 04:36
@tymat nope, 32,663 to deploy. :)
Anthony C. Eufemio
@tymat
Aug 07 2015 04:36
what's your bytecode look like?
linagee
@linagee
Aug 07 2015 04:37
I clicked "Optimize" in the online editor and it just about cut the size of the deploy gas in half.
bytecode and everything are all here: https://gist.github.com/linagee/ba00cd53daa4907366e3
Anthony C. Eufemio
@tymat
Aug 07 2015 04:37
ah optimize
linagee
@linagee
Aug 07 2015 04:37
here is the solidity:
contract testContract {
    function go() constant returns (string) {
        return "ETHEREUM!";
    }
}
like I said, changed "go" to "testContract" but it complained.
(no idea if that might even be more optimized or not)
ohmannomma
@ohmannomma
Aug 07 2015 04:38
i still count do a transaction :(
Anthony C. Eufemio
@tymat
Aug 07 2015 04:40
yeah
ohmannomma
@ohmannomma
Aug 07 2015 04:40
exceeds block gas limit eth.sendTransaction({from: eth.accounts[1], to: eth.accounts[2], value: web3.toWei(1, "ether"), gasPrice: web3.toWei(350, 'gwei'), gas: 21000})
Anthony C. Eufemio
@tymat
Aug 07 2015 04:40
@linagee: --gas doesn't give the right calc for gas
:(
ohmannomma
@ohmannomma
Aug 07 2015 04:41
that dev stat page kills my computer
Anthony C. Eufemio
@tymat
Aug 07 2015 04:42
first contract!
0x9a049f5d18c239efaa258af9f3e7002949a977a0
{ transactionHash: '0x6c929e1c3d860ee225d7f3a7addf9e3f740603d243260536dfa2f3cf02b51de4',
transactionIndex: 0,
blockNumber: 46402,
blockHash: '0x249ea54eada07708b29d7c424b8466dec9f1d98067b0be1b89c7ee660cca858d',
cumulativeGasUsed: 24000,
gasUsed: 24000,
contractAddress: '0x9a049f5d18c239efaa258af9f3e7002949a977a0',
logs: [] }
not sure if I'm the first?
0x6c929e1c3d860ee225d7f3a7addf9e3f740603d243260536dfa2f3cf02b51de4
Rocky Fikki
@rfikki
Aug 07 2015 04:44
How can you tell if it is the first?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:44
you can search all TXs
if there's no to: on the address it's contract creation
Rocky Fikki
@rfikki
Aug 07 2015 04:45
Cool
Anthony C. Eufemio
@tymat
Aug 07 2015 04:45
can someone scan?
keivibi
@keivibi
Aug 07 2015 04:45
How much block confirmations after transaction one has to wait to be 99.999% sure it's ok?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:45
yep
first contract!
ohmannomma
@ohmannomma
Aug 07 2015 04:45
eth.sendTransaction({from: eth.accounts[1], to: eth.accounts[2], value: web3.toWei(1, "ether"), gasPrice: web3.toWei(500, 'gwei'), gas: 25000}) should work . it doesnt
sontol
@sontol
Aug 07 2015 04:46
@tymat what does your contract do?
are you gunning for contract execution next?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:46
contract Digix {
  address owner;
  function Digix() {
    owner = msg.sender;
  }
}
Rocky Fikki
@rfikki
Aug 07 2015 04:46
Just trying to get first contract
linagee
@linagee
Aug 07 2015 04:47
@tymat why was your contract more efficient than mine?
@tymat ah, you didn't return a string or anything fancy. ;)
@tymat can you verify that owner is set once the contract is deployed?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:48
constants?
also return value
that's some pushin' and poppin'
mine is just a constructor
sontol
@sontol
Aug 07 2015 04:48
hmmm non-interactive one
linagee
@linagee
Aug 07 2015 04:48
@tymat can I verify it is keeping state in any way? (like the owner value)
Rocky Fikki
@rfikki
Aug 07 2015 04:49
This message was deleted
Anthony C. Eufemio
@tymat
Aug 07 2015 04:50
yeah you have to get storage at?
linagee
@linagee
Aug 07 2015 04:50
@tymat so the contract you pasted above lives here? 0xa1e4380a3b1f749673e270229993ee55f35663b4
Anthony C. Eufemio
@tymat
Aug 07 2015 04:50
no that's my address
web3.eth.getTransactionReceipt('0x6c929e1c3d860ee225d7f3a7addf9e3f740603d243260536dfa2f3cf02b51de4')
{ transactionHash: '0x6c929e1c3d860ee225d7f3a7addf9e3f740603d243260536dfa2f3cf02b51de4',
  transactionIndex: 0,
  blockNumber: 46402,
  blockHash: '0x249ea54eada07708b29d7c424b8466dec9f1d98067b0be1b89c7ee660cca858d',
  cumulativeGasUsed: 24000,
  gasUsed: 24000,
  contractAddress: '0x9a049f5d18c239efaa258af9f3e7002949a977a0',
  logs: [] }
what will be the first LOG message?
Christopher Franko
@chrisfranko
Aug 07 2015 04:55
tymat check this out
web3.toAscii(web3.eth.getTransaction('0xe363505adc6b2996111f8bd774f8653a61d244cc6567b5372c2e781c6c63b737').input)
this is after using the registrar and the tx going through
linagee
@linagee
Aug 07 2015 04:56
@tymat can you please help? :( I'm trying to run your contract
Anthony C. Eufemio
@tymat
Aug 07 2015 04:56
it doesn't do anything
lol
Christopher Franko
@chrisfranko
Aug 07 2015 04:57
exactly lol
linagee
@linagee
Aug 07 2015 04:57
I can't get beyond this point:
var helloDigix = "contract Digix { address owner;
 function Digix() {   owner = msg.sender;
 }}"

var helloDigixCompiled = web3.eth.compile.solidity(helloDigix)
Anthony C. Eufemio
@tymat
Aug 07 2015 04:57
I'm just blockchain vanalizing
linagee
@linagee
Aug 07 2015 04:57
(anonymous): Line 1:18 Unexpected token ILLEGAL
Anthony C. Eufemio
@tymat
Aug 07 2015 04:57
you need newlines
Christopher Franko
@chrisfranko
Aug 07 2015 04:57
that syntax looks wrong anyways
linagee
@linagee
Aug 07 2015 04:59
@tymat would you be able to inspect helloDigix.owner once you create the new contract?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:59
no
there's no getter
linagee
@linagee
Aug 07 2015 04:59
private variable?
Anthony C. Eufemio
@tymat
Aug 07 2015 04:59
:(
yeah
linagee
@linagee
Aug 07 2015 04:59
ah
Anthony C. Eufemio
@tymat
Aug 07 2015 04:59
it's the dumbest contract ever
but it's first
linagee
@linagee
Aug 07 2015 05:00
that sucks. :( I was hoping it at least might hold one state that could be retrieved.
Anthony C. Eufemio
@tymat
Aug 07 2015 05:00
it's the cheapest :D
linagee
@linagee
Aug 07 2015 05:00
when will the first functional smart contract come around that can show state? :)
will it be mine at 32k? :-D
Anthony C. Eufemio
@tymat
Aug 07 2015 05:00
couldn't get anything to pass with such low gas
Nelson Castillo
@arhuaco
Aug 07 2015 05:01
If you send a TX with low gas, will it expire at some point?
Anthony C. Eufemio
@tymat
Aug 07 2015 05:01
low gas?
it won't get accepted
but a low gasPrice
might
you can update it with a diff nonce
to change the gasPrice
but if the gas itself is not enough if it's a contract function then it will halt execution and you lose your gas
LOL got a bunch of random people adding me on Twitter
I better go into hiding now
https://stats.ethdev.com/ LOL @ gasPrice now
the markets have spoken
Anthony C. Eufemio
@tymat
Aug 07 2015 05:07
literally 1 TX per block right now
Nelson Castillo
@arhuaco
Aug 07 2015 05:07
More than 85% of miners voting gas limit up. Things have improved.
Jonathan Brown
@ethernomad
Aug 07 2015 05:08
This message was deleted
Anthony C. Eufemio
@tymat
Aug 07 2015 05:08
0.0625 transactions per second!
shittiest altcoin ever
need to lock this wallet now
linagee
@linagee
Aug 07 2015 05:13
ack this is going to suck. I was able to submit my ~33k contract, but I can't stay up any longer. I guess it will eventually just go through?
Anthony C. Eufemio
@tymat
Aug 07 2015 05:14
what's the TX hash?
linagee
@linagee
Aug 07 2015 05:14
never got one back
Anthony C. Eufemio
@tymat
Aug 07 2015 05:14
then it didn't go through
linagee
@linagee
Aug 07 2015 05:14
console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined...");
but haven't seen anything
Nelson Castillo
@arhuaco
Aug 07 2015 05:15
linagee
@linagee
Aug 07 2015 05:15
@tymat does anything at the geth/solidity/web3 provide a gas estimate?
Christopher Franko
@chrisfranko
Aug 07 2015 05:15
dat dump is going to be strong
Anthony C. Eufemio
@tymat
Aug 07 2015 05:15
not really very well
you can just look at the EVM opcodes
Christopher Franko
@chrisfranko
Aug 07 2015 05:16
someone just sent 100 eth to 0x00000000000000000
ouch!
Anthony C. Eufemio
@tymat
Aug 07 2015 05:16
solc --asm stdout  <FILE>
linagee
@linagee
Aug 07 2015 05:17
@chrisfranko proof of stupid
Nelson Castillo
@arhuaco
Aug 07 2015 05:18
100 ether!
Christopher Franko
@chrisfranko
Aug 07 2015 05:18
or proof that shit just isnt all that easy lol
sontol
@sontol
Aug 07 2015 05:18
that's why there is developer only warning
in Frontier
ideally in Homestead we should have some sort of warning
linagee
@linagee
Aug 07 2015 05:20
@tymat can you please execute this for me unless you can come up with something better? https://gist.github.com/linagee/f3c07e97fe3357c633b0
(heading to sleep now)
or... I guess I could estimate when it will happen, then do a setTimeout....
that would be so crafty
Anthony C. Eufemio
@tymat
Aug 07 2015 05:23
yeah
I need to sleep as well
linagee
@linagee
Aug 07 2015 05:27
whales moving their money around, lol
Anthony C. Eufemio
@tymat
Aug 07 2015 05:31
probably just to a new wallet
linagee
@linagee
Aug 07 2015 05:34
wait I don't get it... Overstock announced they aren't using Bitcoin. Yet there are things linked to it on the Bitcoin subreddit still?
(on an ongoing basis, past the point they said no Bitcoin)
Anthony C. Eufemio
@tymat
Aug 07 2015 05:34
wasn't it counterparty they were not using?
linagee
@linagee
Aug 07 2015 05:35
They are using "PeerNova", whatever that is.
so it is weird that /r/Bitcoin is still showing their articles
Jonathan Brown
@ethernomad
Aug 07 2015 05:37
Can I send someone me ether in return for 0.0074 BTC ?
linagee
@linagee
Aug 07 2015 05:44
how much gas does btcrelay take? :-D
does btcrelay include the source to it? I'm not really getting how it even works. :-/
it does say "danger: this code is very experimental"
Jonathan Brown
@ethernomad
Aug 07 2015 05:49
Which exchanges support Ether today?
linagee
@linagee
Aug 07 2015 05:51
so when does ethercoin make good on it's promise? hahaha. :-D
so many queued things
arandyp
@arandyp
Aug 07 2015 05:54
omfg first transaction worked and now i'm @ work and can't get into my pc again from here
no trading for me the next 9 hours :(
Anthony C. Eufemio
@tymat
Aug 07 2015 05:57
there probably won't be any real trading until the pi-million
arandyp
@arandyp
Aug 07 2015 06:04
whats the max transactionsize now?
Anthony C. Eufemio
@tymat
Aug 07 2015 06:05
for data?
arandyp
@arandyp
Aug 07 2015 06:05
ether
Anthony C. Eufemio
@tymat
Aug 07 2015 06:05
none?
arandyp
@arandyp
Aug 07 2015 06:05
then why won't there be any real trading yet?
Anthony C. Eufemio
@tymat
Aug 07 2015 06:06
because you can only send 1 TX every 15 seconds
arandyp
@arandyp
Aug 07 2015 06:06
If i wasn't shut out from my pc i would have started
Anthony C. Eufemio
@tymat
Aug 07 2015 06:06
1 person in the entire network
can send one TX
arandyp
@arandyp
Aug 07 2015 06:06
maybe i got the first windows transaction thats something :)
@tymat could you do a mini transaction to this adres maybe? 0xee7a22ba6e2a440766740f46a2faccae8078fa83
to be the first one to trade a few wei :)
Anthony C. Eufemio
@tymat
Aug 07 2015 06:08
will try
arandyp
@arandyp
Aug 07 2015 06:09
would ask for 200 ether but we don't know eachother
lol
Sagar Vikani
@sagarvikani
Aug 07 2015 06:10
This message was deleted
This message was deleted
arandyp
@arandyp
Aug 07 2015 06:11
just read this @ Gatecoin trading
Notice: During the frontier phase, your deposit will be credited to your account after 6,000 confirmations (~24 h)
some failsafe :)
I'm gonna work as i'm supposed to i guess
ohmannomma
@ohmannomma
Aug 07 2015 06:17
eth.sendTransaction({from: '0x0ab366e6e7d5abbce6b44a438d69a1cabb90d133', to: '0x0117aca5d98443a8ce8aee7ac4bec8450abbd852', value: web3.toWei(0.000001, "ether"), gasPrice: web3.toWei(450, 'gwei'), gas: 22000}) doesnt work
Anthony C. Eufemio
@tymat
Aug 07 2015 06:17
yep
nobody will be dumping
the 24 hours was advice from ETHDEV folks
ohmannomma
@ohmannomma
Aug 07 2015 06:17
did somebody manage to make a transaction with geth on mac os x? i keep on having the exceeds gas error
arandyp
@arandyp
Aug 07 2015 06:21
i wanted to do 200 @start but that was always a longshot. Only bought 400 during the IPO :)
Vern
@pompomJuice
Aug 07 2015 06:39
yay, I got gas!
omg kraken noobs, they have eth but you cant fund your account with eth. How are the whales supposed to dump eth on the market?
idiots
Cory
@clevinson
Aug 07 2015 06:51
hey all... think i just hit some kind of memory error with Geth, but only when i run with the --autodag flag. Is that still necessary?
keivibi
@keivibi
Aug 07 2015 07:14
@tymat I already dumped some thru escrow...if you wait for the exchange you never know if you will be able to sell to the order book...
Anthony C. Eufemio
@tymat
Aug 07 2015 07:17
I'm a HODLer
keivibi
@keivibi
Aug 07 2015 07:21
@tymat I used bitrated.com to make some solid trades. Wrote a contract. Everything went smooth. People released me the funds after I sent them ether. Everyone happy...:-)
After made some transactions on ethereum...bitcoin looks like a slow dinosaur in comparison..
jdqx
@jdqx
Aug 07 2015 07:26
jeff is going to add checksuming today
P.S.
@Yerne
Aug 07 2015 07:47
hey, why eth.getBalance desnt work for me
it worked yesterday
Kobi Gurkan
@kobigurk
Aug 07 2015 07:48
do you get an error?
P.S.
@Yerne
Aug 07 2015 07:48
it shows 0, but i importedwallet with 20 eth yesterday
and its ok shows in https://etherchain.org
hey guys, anybody know how to make Geth to not scroll down and erase typing in Console mode....?
keivibi
@keivibi
Aug 07 2015 07:57
open another tab in the console and enter "geth attach"
Try this for checking the balance web3.fromWei(eth.getBalance('ENTER_your_account_address_HERE'), "ether")
P.S.
@Yerne
Aug 07 2015 08:02
@keivibi thanks, it helps to stop scrolling)
im trying to

var sender = eth.accounts[1];
var receiver = eth.accounts[0];
var amount = web3.toWei(0.01, "ether")

eth.sendTransaction({from:sender, to:receiver, value: 1})

P.S.
@Yerne
Aug 07 2015 08:08
then console shows nothing, just ".." and nothing happens, any clue?
keivibi
@keivibi
Aug 07 2015 08:09
@Yerne that not worked for me in the console. try this: eth.sendTransaction({from: eth.accounts[YOUR_ACC_NUM_HERE], to: 'RECIPIENT_ADDRESS_HERE', value: web3.toWei(SUM_HERE, "ether"), gasPrice: web3.toWei(450, 'gwei'), gas: 22000})
P.S.
@Yerne
Aug 07 2015 08:16
its constantly gives errors like this
could not decode, could not decode, json: cannot unmarshal number into Go value
of type string
at InvalidResponse (<anonymous>:-60926:-213)
at send (<anonymous>:-124886:-213)
at sendTransaction (<anonymous>:-113803:-213)
at <anonymous>:1:1
f00bar
@f00bar
Aug 07 2015 08:22
guys does any one know what's a good gitter channel or IRC channel to talk to people who are trying to develop dapps in solidity
it seems most people here are focused on the mining aspect
Jonathan Brown
@ethernomad
Aug 07 2015 08:40
Is ethereum.slack.com used internally by ethdev?
Maran
@maran
Aug 07 2015 08:56
No
Switched to Gitter
Peter Pratscher
@ppratscher
Aug 07 2015 09:12
hi, is it safe to re-send a transaction that has not been mined due too a too low gas price?
using a higher gas price
Joris Bontje
@jorisbontje
Aug 07 2015 09:13
@ppratscher that is the intend of PR #1583
Peter Pratscher
@ppratscher
Aug 07 2015 09:14
thx, but what happens to such transactions? will they stay in limbo and be mined eventually?
Joris Bontje
@jorisbontje
Aug 07 2015 09:20
they wont be mined if a transaction with a higher nonce is already
miners will individually determine which tx to remove from the txpool, based on their lowgas setting; https://github.com/obscuren/go-ethereum/blob/35f271b264b8e4a0449eff325fb75a78299cf9a6/miner/worker.go#L498
Peter Pratscher
@ppratscher
Aug 07 2015 09:21
ok, thx. so it is safe to re-send them using a higher gas price?
Joris Bontje
@jorisbontje
Aug 07 2015 09:22
I believe so, although there are miners who are not running 1.0.1 yet (or not running geth); I don’t know how that will behave
Peter Pratscher
@ppratscher
Aug 07 2015 09:26
thx
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:27
@ppratscher yes, but make sure you set the nonce correct
Peter Pratscher
@ppratscher
Aug 07 2015 09:31
how do I have to set the nonce?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:33
eth.sendTransaction({…stuff…, nonce: the_nonce})
Peter Pratscher
@ppratscher
Aug 07 2015 09:34
no, but which value should I use as the nonce? the last tx nonce +1?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:34
what does eth.pendingTransactions() tell you?
Peter Pratscher
@ppratscher
Aug 07 2015 09:35
[{
Data: '0x',
From: '0xe6a7a1d47ff21b6321162aea7c6cb457d5476bca',
GasLimit: '21000',
GasPrice: '133396610930',
Hash: '0xb5c81e2dbc09d3a085de90c83dda68c9a0872eb1ff8fea4272950b3fb9985b11',
Nonce: '141',
To: '0x02b2e758d92e953dfc0adc59ba237528e37606f5',
Value: '23282939161918360000'
} ]
but I have 30+ tx that were not mined
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:36
How much transactions have you already sent?
give or take
Peter Pratscher
@ppratscher
Aug 07 2015 09:36
250
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:37
Are you sure?
Because that transactions says otherwise :)
Peter Pratscher
@ppratscher
Aug 07 2015 09:38
jep, I have received a tx hash for all of them via the the.sendTransaction() call
Jonathan Brown
@ethernomad
Aug 07 2015 09:38
I just made an "Ethereum Community" Slack team. Send me your email if you want in.
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:39
could you type eth.getTransactionCount(youaddress) ?
@drupalnomad why bother with slack if we’ve got this which is public?
Peter Pratscher
@ppratscher
Aug 07 2015 09:39
144
Jonathan Brown
@ethernomad
Aug 07 2015 09:40
I hate gitter it needs to die in a fire!
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:40
Ok, good luck to you
Jonathan Brown
@ethernomad
Aug 07 2015 09:40
Scrolling totally sucks
Joris Bontje
@jorisbontje
Aug 07 2015 09:40
you can use its IRC bridge https://irc.gitter.im/
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:40
@ppratscher ok restart your client please and send that transaction again
Peter Pratscher
@ppratscher
Aug 07 2015 09:41
ok, thanks, I will try
P.S.
@Yerne
Aug 07 2015 09:45
hey guys, i still cant send any ethers, maybe its because im not a miner?
Peter Pratscher
@ppratscher
Aug 07 2015 09:46
@obscuren same issue after restart, some get send, some not
P.S.
@Yerne
Aug 07 2015 09:47
i use in console this: eth.sendTransaction({from:0xXXXXXXXXXXXXXXXXXXXXX, to:0xXXXXXXXXXXXXXXXXXXXXXX, value:web3.toWei(0.01,"ether"), gasPrice:web3.toWei(450,"gwei"), gas:22000})
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:47
@ppratscher May I ask how you are sending transactions?
Peter Pratscher
@ppratscher
Aug 07 2015 09:48
i specify the gas price manually using the eth.gasPrice value, could it be the case that the returned value is simply to low
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:48
that’s possible
what’s the output of eth.pendingTransactions() ?
Peter Pratscher
@ppratscher
Aug 07 2015 09:48
nothing right now
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:48
then all your txs were sent
Peter Pratscher
@ppratscher
Aug 07 2015 09:49
but they are not mined and eth.pendingTransactions is not increased
what would be a reliable way to send x amount of ether where the receiver pays the tx cost?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:50
That’s not possible
Peter Pratscher
@ppratscher
Aug 07 2015 09:51
what is not possible?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:51
what would be a reliable way to send x amount of ether where the receiver pays the tx cost?
Peter Pratscher
@ppratscher
Aug 07 2015 09:53
hm, how should then an exchange pay out an account? e.g. if a user wants to withdraw his balance of 20 ether? then the exchange has to cover the tx costs?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:54
Charge a fee?
if user wants to take out 20, give him 19
Peter Pratscher
@ppratscher
Aug 07 2015 09:54
ok, that sounds about right
thanks for your help ;)
just to confirm once more, if I re-send the not processed transactions there will be no double payments?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:56
If you resend a transaction with the same nonce only one of them will and can be used to make a value transfer
resulting in one of the two being dropped
rule is defined by the protocol
Peter Pratscher
@ppratscher
Aug 07 2015 09:56
ok, if I re-send it with a higher nonce?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:56
Then it will be in pending until it fill the gap between current and your higher nonce tx
all tx nonces must be sequential
Peter Pratscher
@ppratscher
Aug 07 2015 09:58
ok, I have never manually specified any nonces, can I assume that they are sequential?
Jeffrey Wilcke
@obscuren
Aug 07 2015 09:59
Yes :)
They are handled for you
Peter Pratscher
@ppratscher
Aug 07 2015 09:59
great ;)
thanks a lot for your help
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:00
So if no nonce is specified it’s automagic. If you specify one we’ll use that one and trust you that you know what ‘you’re doing :)
no problem!
yay i also made my first transaction :D
Stefan George
@Georgi87
Aug 07 2015 10:04
Hi all, I am just testing our app with geth. Something is working differently compared to the pyethereum client. I want to debug using solidity events. How can I make those log statements from solidity show up in the geth client?
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:16
@Georgi87 Are you asking how to do tracing in geth?
if you run geth —vmdebug it will output all VM steps
and list LOGs
Peter Pratscher
@ppratscher
Aug 07 2015 10:16
@obscuren even without specifying a gas limit the tx get dropped somehow
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:21
are you sure it wasn’t dropped because of gas limit?
default gas limit is pretty high
afaik
Peter Pratscher
@ppratscher
Aug 07 2015 10:21
I am specifying the same gas value for all the transactions
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:25
How do you know it’s dropped?
Just out of curiousity
Peter Pratscher
@ppratscher
Aug 07 2015 10:38
it does not get mined and does not show up in the pending tx
P.S.
@Yerne
Aug 07 2015 10:43
@ppratscher what is the gasPrice you using?
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:44
@ppratscher did you check eth.getTransactionReceipt(hash) ?
Peter Pratscher
@ppratscher
Aug 07 2015 10:46
@Yerne I let geth decide on the gas price
@obscuren yes, it returns empty for these tx
P.S.
@Yerne
Aug 07 2015 10:49
@ppratscher you said that"i specify the gas price manually using the eth.gasPrice value, could it be the case that the returned value is simply to low"
Jeffrey Wilcke
@obscuren
Aug 07 2015 10:50
@ppratscher could you past an example of your transactions
Peter Pratscher
@ppratscher
Aug 07 2015 10:50
ah, things are looking much better now, it looks like it took some time to mine some tx
P.S.
@Yerne
Aug 07 2015 10:52
i type web3.eth.gasPrice
and it shows 54714039301
its price in Gwei or szabo or what?
Peter Pratscher
@ppratscher
Aug 07 2015 10:53
@Yerne I am sending the tx without specifying the gas price
it should be in Wei
P.S.
@Yerne
Aug 07 2015 10:57
still cant exceed gas limit with or without gasPrice
Peter Pratscher
@ppratscher
Aug 07 2015 10:59
@obscuren I am issuing the tx like this: {"from":"0xe6a7a1d47ff21b6321162aea7c6cb457d5476bca","to":"0x082b2013c855230fcd4b1b29d67d853de21df88a","value":"1 4276465077430098000","gas":"22000"}
Tx hash is: 0xff669db17ac3a4465f9df4ca59d80dfeae43c273a98308039b8bb55bd63d63bd
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:02
That value looks really odd
there’s a space inbetween 1 and 4
Is that correct?
Peter Pratscher
@ppratscher
Aug 07 2015 11:02
no, this is just c&p error
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:02
ah, ok
So you’re using the curl and RPC to submit transactions?
Peter Pratscher
@ppratscher
Aug 07 2015 11:03
no, web3 js
but under the hood RPC
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:03
Can you copy and paste the full piece of code? :)
I just want to make sure it’s nothing silly
Peter Pratscher
@ppratscher
Aug 07 2015 11:04
var txHash = web3.eth.sendTransaction(tx);
with the tx object like the one above
var web3 = require('web3');
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
that should be all of the relevant parts
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:09
I see, ok that’s why pendingTransactions doesn’t give you anything
could you try geth console?
and see if that works for you
all you gotta do is the var txHash = web3…
The rest you don’t need
Peter Pratscher
@ppratscher
Aug 07 2015 11:11
ok, I will try again tomorrow, I will iteratively process them until all are confirmed, only a few are left
or is there a better way to send batch tx?
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 11:31
@ppratscher no APIs for that yet afaik
Stefan George
@Georgi87
Aug 07 2015 11:40
@obscuren thanks for the info. Is there any way to print only the logs? the complete vm output is a mess. The log statements get lost in my console.
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:41
:)
What is it exactly you’re looking for?
(The VM output is very clean and structured btw :-D)
Stefan George
@Georgi87
Aug 07 2015 11:41
The solidity event/log statements :)
Yeah, but my transaction produces a lot of output hehe
I tried to redirect the output to a file but output has to be terminal.
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:42
You can’t log only events i’m afraid
But if you want to make sure log are generated you can do the following:
eth.getTransactionReceipt(tx_hash) after it has been mined and it should include the logs
Stefan George
@Georgi87
Aug 07 2015 11:43
Oh awesome
thanks, ill try this
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:43
If your tx went OOG it will not generate LOGs (events)
Stefan George
@Georgi87
Aug 07 2015 11:43
ok
OOG?
Jeffrey Wilcke
@obscuren
Aug 07 2015 11:44
out of gass
Stefan George
@Georgi87
Aug 07 2015 11:44
kk, thanks
keivibi
@keivibi
Aug 07 2015 11:45
@Yerne you should put your addresses between quotes 'x123...n' for example.
P.S.
@Yerne
Aug 07 2015 12:03
@keivibi yes, thanks)
Stefan George
@Georgi87
Aug 07 2015 12:07
@obscuren great I was able to verify now that transactions are processed successfully. The reason why the dapp is not working must be calls.
Is there any way to get log statements from calls?
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:07
Nope
Stefan George
@Georgi87
Aug 07 2015 12:07
ok ^^
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:07
But if it’s a call why not just use return :)
Stefan George
@Georgi87
Aug 07 2015 12:08
hehe, true
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:08
With call you can let the contract return a value and you’ll get the value thru web3 from the call call :)
Stefan George
@Georgi87
Aug 07 2015 12:09
yeah, logs are just nicer, because I can put multiple in one contract :)

my call function is:

function getMarkets(uint[] event_description_hashes) returns (uint[1024]) {
    uint[1024] memory market_makers;
    return market_makers;
}

Any reason why this should fail?

Jeffrey Wilcke
@obscuren
Aug 07 2015 12:10
Not sure if you can return that through web3
Stefan George
@Georgi87
Aug 07 2015 12:10
Its working with pyethereum and web3
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:10
ok, what’s the error?
Stefan George
@Georgi87
Aug 07 2015 12:11
but return from geth is an array filled with zeros
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:11
that market_makers is probably empty
Stefan George
@Georgi87
Aug 07 2015 12:12
Yeah, but the tx filled the storage that is returned from getMarkets. I removed parts from the pasted function.
I was wondering if there are known issues with static sized uint arrays as return.
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:12
nope, not that i’m aware of
Stefan George
@Georgi87
Aug 07 2015 12:13
kk
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:13
but hang on, you’re saying that the array is being filled?
thru a transaction
But you’re doing a call, no?
I’m slightly confused on how you’re approaching it
FTR, calls always operate in a sandboxed environment and are never shared
Stefan George
@Georgi87
Aug 07 2015 12:14
  1. tx changes storage
  2. call reads from storage returns parts of it
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:15
so if call A changes something and call B tries to access it, that won’t work
Was 1 mined?
Stefan George
@Georgi87
Aug 07 2015 12:15
yep
got the tx receipt and logs indicated it was processed until the end
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:15
Hm
I’ll try something on a private network
Or you can do me a favour and create a very simple test case :)
Stefan George
@Georgi87
Aug 07 2015 12:17
Yes, Ill try this (test case) :)
Will notify you here. Will take some time.
Jeffrey Wilcke
@obscuren
Aug 07 2015 12:19
@Georgi87 something like this?
contract Test {
    uint[10] test;

    function setIndex(uint value, uint idx) {
        test[idx] = value;
    }

    function get() returns (uint[10]) {
        return test;
    }
}
Joris Bontje
@jorisbontje
Aug 07 2015 12:37
can you unlock multiple accounts from the command line?
ohmannomma
@ohmannomma
Aug 07 2015 12:46
ethereum devs are showing their intellectual inferiority with all these parameters needed
dogecoin devs are much cooler
imagine
Christopher Franko
@chrisfranko
Aug 07 2015 12:48
I just want to use the registrar lol still dont know the gaslimit for it though
linagee
@linagee
Aug 07 2015 12:48
This message was deleted
CanaryInTheMine
@CanaryInTheMine
Aug 07 2015 12:52
don't. feed. the. trolls.
linagee
@linagee
Aug 07 2015 12:53
This message was deleted
Joris Bontje
@jorisbontje
Aug 07 2015 12:54
ah you can provide multiple space separated accounts in —unlock, however then your password file also needs to contain multiple lines
Bitcoinzie
@Bitcoinzie
Aug 07 2015 13:03
@ohmannomma this aint doge or some other alt
Stefan George
@Georgi87
Aug 07 2015 13:10
sorry @obscuren yes it is similar to this case. But our contract/tx is way more complex. I wonder if there could be any side effects.
Christopher Franko
@chrisfranko
Aug 07 2015 13:13
funny thing about trolls, they only strengthen the community. for instance, he naysayed, and how many people followed with a yaysay
what if the powers that be planted a confederate just to make you yaysay more.
Anthony C. Eufemio
@tymat
Aug 07 2015 13:14
Mornin'
I had a dream I had the first TX on Ethereum LOL
Christopher Franko
@chrisfranko
Aug 07 2015 13:14
mornin sir 1st tx of eth
btw the "yaysay" after a "naysay" is called false enforcement and are what make cults cults. js
<--- sociology major
Rocky Fikki
@rfikki
Aug 07 2015 13:17
@tymat you sure it was a dream? or nightmare?
Anthony C. Eufemio
@tymat
Aug 07 2015 13:18
LOL
Rocky Fikki
@rfikki
Aug 07 2015 13:18
lol
Anthony C. Eufemio
@tymat
Aug 07 2015 13:18
is 1 XBT = 1 BTC?
P.S.
@Yerne
Aug 07 2015 13:20
hey guys can you check why receiver in this transaction is not showing?
why receiver showed as "new contract"?
Maran
@maran
Aug 07 2015 13:21
Probably means no receiver has been specified
if that's the case it's a contract
linagee
@linagee
Aug 07 2015 13:24
This message was deleted
I guess estimateGas is telling me that would take 82k...
Stefan George
@Georgi87
Aug 07 2015 13:36
@obscuren I have checked another call in my contract, which also returns an array of uints and this call works. The only difference in the func. sig. is that the getMarkets function has an uint[] argument getMarkets(uint[] event_description_hashes). I am checking.
linagee
@linagee
Aug 07 2015 13:41
why does eth.estimateGas keep increasing every time I call it? :(
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 13:44
@linagee we have a few bugs in those functions
working on fixes for the next release
linagee
@linagee
Aug 07 2015 13:47
weird. solidity online compiler tells me even less. Creation: 81 + 53200 :(
ack. can't get it to make a TX. never calls back
linagee
@linagee
Aug 07 2015 14:06
why does even this never return a callback?
var ethereum = ethereumContract.new({from:eth.coinbase, data: '00', gas: 30000}, function(e, contract){
    console.log("CALLBACK!");
    if(!e) {
      if(!contract.address) {
        console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined...");
      } else {
        console.log("Contract mined! Address: " + contract.address);
        console.log(contract);
      }
    } else {
       console.log("error");
       console.log(e);
    }
})
linagee
@linagee
Aug 07 2015 14:12
@tymat how were you even able to put a very very simple contract out there? :(
linagee
@linagee
Aug 07 2015 14:19
(did you use .use or .sendTransaction?)
Anthony C. Eufemio
@tymat
Aug 07 2015 14:22
sendTransaction({txobjects, data: bytecode})
linagee
@linagee
Aug 07 2015 14:24
trying a deadbeef
RJ Catalano
@VoR0220
Aug 07 2015 14:25
how does one lower the gas price in a test net? I need to do this just so I can test out a contract.
linagee
@linagee
Aug 07 2015 14:25
at least now it asked to unlock and gave me a TX number
(TX number not showing on etherchain yet)
0x6fd112af869acb860895a29c1ee55b8edcf1c3081ce13ab2e5aa171b931746e1
wait now it is. :-D there's my deadbeef
@tymat I think @obscuren may have messed something up in that latest "don't send to invalid addresses" :(
@tymat because now I can't "send to no to address"
Invalid address
@tymat it would be a good test if you could try making sure your geth is updated, then try to create that test contract again, please
RJ Catalano
@VoR0220
Aug 07 2015 14:31
anybody?
linagee
@linagee
Aug 07 2015 14:33
ack. now I'll have to git pull source so I can test that removing that change fixes it. :(
booo
Anthony C. Eufemio
@tymat
Aug 07 2015 14:33
I haven't upgraded yet.
linagee
@linagee
Aug 07 2015 14:33
hahahah. :smile:
lucky
Anthony C. Eufemio
@tymat
Aug 07 2015 14:34
you can always roll back to an earlier commit.
linagee
@linagee
Aug 07 2015 14:34
eventually we'll probably want CI doing a new contract test. ;)
(if it isn't already, I really have no idea how all that is set)
Anthony C. Eufemio
@tymat
Aug 07 2015 14:34
I think they do?
linagee
@linagee
Aug 07 2015 14:34
I wish I had the CI test to run then, lol
Anthony C. Eufemio
@tymat
Aug 07 2015 14:34
Is it just contracts creation?
linagee
@linagee
Aug 07 2015 14:35
I believe so
Anthony C. Eufemio
@tymat
Aug 07 2015 14:35
Were you able to deploy this before?
linagee
@linagee
Aug 07 2015 14:35
I didn't try it, lol.
like an idiot I was like, "let me make sure everything is upgraded before I try" :smile:
RJ Catalano
@VoR0220
Aug 07 2015 14:36
guys, is it possible at all to set the gas price in the testnet?
linagee
@linagee
Aug 07 2015 14:36
@VoR0220 I believe you want to force the min and max prices to the same thing for the gas price oracle to make it a static value.
RJ Catalano
@VoR0220
Aug 07 2015 14:36
how would I do that?
linagee
@linagee
Aug 07 2015 14:37
geth command line options. ;)
RJ Catalano
@VoR0220
Aug 07 2015 14:37
alright I will look into it
thanks for the tip
linagee
@linagee
Aug 07 2015 14:37
np. sorry, trying to fix Ethereum or at least see if its broken or just me, lol.
Anthony C. Eufemio
@tymat
Aug 07 2015 14:37
gpomin and gpomax
but remember that there's a gas price oracle that miners use
Felföldi Zsolt
@zsfelfoldi
Aug 07 2015 14:39
Miners don't use the oracle, just a minimum accepted price (--gasprice).
linagee
@linagee
Aug 07 2015 14:39
@tymat I accidentally used master instead of develop. But that worked, no problems.
@tymat so I'll switch to develop and try removing #1615
here is my successful TX with master: (forgot to change deadbeef to something different) https://etherchain.org/tx/0x28a6edb8d77c1f1f5531aa0d1c9014c063dd512c9d6a6eff193b73ba676064a6
Anthony C. Eufemio
@tymat
Aug 07 2015 14:41
hehe
0xdeadbeef
0xcafebabe
Christopher Franko
@chrisfranko
Aug 07 2015 14:41
lol
Anthony C. Eufemio
@tymat
Aug 07 2015 14:41
0xcafebabe is the magic number for Java BTW
back when I was working on Java disassembler I had 0xcafebabe sticker I made
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:45
Invalid address for contract creation means "update please" :)
Anthony C. Eufemio
@tymat
Aug 07 2015 14:46
:+1:
RJ Catalano
@VoR0220
Aug 07 2015 14:46
master doesn't appear to be on the updated branch....
why?
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:48
release/1.0.1 gah do you guys ever read :p
Alex Van de Sande
@alexvandesande
Aug 07 2015 14:49
This message was deleted
linagee
@linagee
Aug 07 2015 14:49
@obscuren did you kill contracts?
@obscuren or is it just me?
I'm at the latest build for .deb 1.0.1+718SNAPSHOT20150807120622trusty-0ubuntu1
(which is develop)
@obscuren wait are you saying, "develop bad, switch to the release"? lol
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:52
Switch to release/1.0.1 branch ;-)
linagee
@linagee
Aug 07 2015 14:52
@obscuren that's not going to work for 99.9999% of ethereum users though. :(
I mean, I can do it, but 99.99999% of everyone is running -dev, as the instructions say to do that. ;)
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:52
Dev?
Dev works too
linagee
@linagee
Aug 07 2015 14:52
the ppa for the develop branch
RJ Catalano
@VoR0220
Aug 07 2015 14:53
@obscuren why not merge the branch into master? It's been tested, yeah?
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:53
tgats fine too
bit more unstable but sure
linagee
@linagee
Aug 07 2015 14:53
@obscuren just can't run contracts, lol. :)
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:53
shouldnt cause issues
Anthony C. Eufemio
@tymat
Aug 07 2015 14:53
It's $319,000,000,000 per ETH
That's my ask price.
linagee
@linagee
Aug 07 2015 14:53
@tymat :+1:
Rocky Fikki
@rfikki
Aug 07 2015 14:54
Ask and you shall not receive!!!
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:54
@linagee Develop ffs
Anthony C. Eufemio
@tymat
Aug 07 2015 14:54
actually @linagee got a discount. It was really $320,000,000,000
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:54
god dammit
linagee
@linagee
Aug 07 2015 14:54
:( I am running develop branch and I get:
 eth.sendTransaction({
 from: eth.coinbase,
 value: web3.toWei(0.01, 'ether'),
 data: 'deadbeef3'
 })
>  eth.sendTransaction({
......  from: eth.coinbase,
......  value: web3.toWei(0.01, 'ether'),
......  data: 'deadbeef3'
......  })
Invalid address
    at InvalidResponse (<anonymous>:-60926:-102)
    at send (<anonymous>:-124886:-102)
    at sendTransaction (<anonymous>:-113803:-102)
    at <anonymous>:1:2
Anthony C. Eufemio
@tymat
Aug 07 2015 14:55
you need this in your .bashrc
function parse_git_branch {
    ref=$(git symbolic-ref HEAD 2> /dev/null) || return
        echo " ("${ref#refs/heads/}") "
}
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:55
UPDATE!!!!
Anthony C. Eufemio
@tymat
Aug 07 2015 14:55
you're on the wrong branch lol
geth version should match hash for develop
linagee
@linagee
Aug 07 2015 14:56
I just made sure my ubuntu packages are update/upgraded. and I get the same Invalid address with the above.
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:56
gonna fucking strangle @linagee Lol
linagee
@linagee
Aug 07 2015 14:56
@obscuren sorry. :(
RJ Catalano
@VoR0220
Aug 07 2015 14:56
lol Jeffuh is flipping his shit
Rocky Fikki
@rfikki
Aug 07 2015 14:57
Can we just get along.
linagee
@linagee
Aug 07 2015 14:57
I can switch to release/1.0.1, but most people are on develop branch. :(
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:57
oh my god
Stefan George
@Georgi87
Aug 07 2015 14:57

@obscuren Nothing urgent: I have now a small contract example which shows the wrong behaviour:

function getMarkets(uint[] event_description_hashes) returns (uint[1024]) {
    uint[1024] memory market_makers;
    market_makers[0] = 666;
    return market_makers;
}

Calling this function from web3 returns an array with 1024 zeros. Expected is that element 0 has value 666.

Should I post this as an issue in the geth issue tracker?

Jeffrey Wilcke
@obscuren
Aug 07 2015 14:57
uodate your fucking shit
Rocky Fikki
@rfikki
Aug 07 2015 14:57
lol
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:57
i uodated develop
linagee
@linagee
Aug 07 2015 14:58
just now? maybe it's still building
Jeffrey Wilcke
@obscuren
Aug 07 2015 14:58
like 1h ago
otherwise grab the source and run make
linagee
@linagee
Aug 07 2015 14:58
I have geth 1.0.1+718SNAPSHOT20150807. will check to see what that equates to
ah...
@obscuren sorry!!! build was failing. :( please don't hurt me, lol.
what's this all about? :( version '+720SNAPSHOT20150807124419trusty-0ubuntu1' is invalid: version number does not start with digit
Jeffrey Wilcke
@obscuren
Aug 07 2015 15:00
Just get the source. It builds quick and without hassle
Roman Plášil
@Quiark
Aug 07 2015 15:00
@tgerring : is the choco inst working for you? mine says it couldn't find
Jeffrey Wilcke
@obscuren
Aug 07 2015 15:00
promise
linagee
@linagee
Aug 07 2015 15:04
0x06d751236ef10eed7e59cb305fa56bc7007dfebea0a792cb2528cfd601e40114
works, develop branch. it was just the .deb build failing. sorry. :(
Anthony C. Eufemio
@tymat
Aug 07 2015 15:07
People who have sent or mined to 0x00000000000000000000000000000000 are paying the stupid tax.
Jeffrey Wilcke
@obscuren
Aug 07 2015 15:08
Np @linagee <3
RJ Catalano
@VoR0220
Aug 07 2015 15:08
alright
fuck it
switching to dev branch
linagee
@linagee
Aug 07 2015 15:09
@obscuren I wish I could fix the broken .deb, but I'd just have like 1% of the knowledge needed.
RJ Catalano
@VoR0220
Aug 07 2015 15:09
I keep getting "intrinsic gas too low" even though I've set the gas price incredibly low....wtf is up?
Stefan George
@Georgi87
Aug 07 2015 15:09
@obscuren posted issue here: ethereum/go-ethereum#1616
linagee
@linagee
Aug 07 2015 15:13
it works!!!!!!!!
RJ Catalano
@VoR0220
Aug 07 2015 15:16
so I'm running this on a testnet, with gas price=100, I've got 3299999980000000000000 wei, and my contract code is max 2kb, so why am I still getting the error "Intrinsic Gas too low"?
linagee
@linagee
Aug 07 2015 15:16
anyone want to try my contract?? :-D
RJ Catalano
@VoR0220
Aug 07 2015 15:17
for sure, once I can get mine up and running on the testnet
Lars Pensjö
@larspensjo
Aug 07 2015 15:17
I build geth from source, and just want the latest stable. Should I use "master" or "release/1.0.1"?
gitterbridge
@gitterbridge
Aug 07 2015 15:18
Quiark linagee, what ya makin'?
linagee
@linagee
Aug 07 2015 15:20
Sorry for the abuse of a one liner: (may the ethereum gods have mercy on me for this terrible one liner)
var testContract4 = web3.eth.contract([{constant: true, inputs: [], name: 'go', outputs: [{ name: '', type: 'string' }], type: 'function' }]).at('0x6516298e1c94769432ef6d5f450579094e8c21fa')
copy/paste that into your geth command line.
then run it like this:
testContract4.go()
gitterbridge
@gitterbridge
Aug 07 2015 15:20
Quiark I have no eth lol
linagee
@linagee
Aug 07 2015 15:20
sorry, it's very simple. :-D
am I the only one trying out contracts and not just trading ether? :smile:
Anthony C. Eufemio
@tymat
Aug 07 2015 15:23
@VoR0220 what does web3.eth.getBlock('latest').gasLimit show?
RJ Catalano
@VoR0220
Aug 07 2015 15:24
43466757
Anthony C. Eufemio
@tymat
Aug 07 2015 15:24
what does your contract have?
RJ Catalano
@VoR0220
Aug 07 2015 15:25
  register.web3.eth.contract(this.abi).new({
    data: this.code,
    gas: 
      }, function(err, contract) {
    if (err) {
      console.error(err);
      return;
      // callback fires twice, we only want the second call when the contract is deployed
       } else if (contract.address) {
      myContract = contract;
      console.log('address: ' + myContract.address);
      document.getElementById('status').innerText = 'Mined!';
      document.getElementById('call').style.visibility = 'visible';
        }
      }); 
Rocky Fikki
@rfikki
Aug 07 2015 15:26
Ah, 21000 is just a fading memory: Latest Block#: 48686 Latest Gas Limit: 114661
RJ Catalano
@VoR0220
Aug 07 2015 15:26
I was just about to try putting in the gas parameter
Anthony C. Eufemio
@tymat
Aug 07 2015 15:26
put more gas
RJ Catalano
@VoR0220
Aug 07 2015 15:26
into the contract?
Anthony C. Eufemio
@tymat
Aug 07 2015 15:26
how are you submitting it?
use sendTransaction
RJ Catalano
@VoR0220
Aug 07 2015 15:26
I'm just trying to test this out in a browser
alright. Thanks @tymat
really preciate it
linagee
@linagee
Aug 07 2015 15:28
@tymat when I did my .go() thing above, I used .new() so that definitely should be working.
Anthony C. Eufemio
@tymat
Aug 07 2015 15:28
I deploy contracts from nodejs
with my local solc binary
Nelson Castillo
@arhuaco
Aug 07 2015 15:29
12 hours till 50tx / block.
linagee
@linagee
Aug 07 2015 15:30
will etherchain show the contract address that was created?
Anthony C. Eufemio
@tymat
Aug 07 2015 15:30
nice @arhuaco
@linagee yeah
well they should
lol
it's basically the output of getTransactionReceipt(txhash)
slimz
@aperseghin
Aug 07 2015 15:30
how long should 6000 confirmations take?
Roman Plášil
@Quiark
Aug 07 2015 15:30
geth attach on Windows really doesn't work well. Annoyed a lot of people on IRC
linagee
@linagee
Aug 07 2015 15:31
@tymat because I already filled that JS variable with something else, whoops.
Anthony C. Eufemio
@tymat
Aug 07 2015 15:31
ah they don't show it
but should be an easy fix to show the result address
slimz
@aperseghin
Aug 07 2015 15:31
can i check the confirmation total for a transaction?
Anthony C. Eufemio
@tymat
Aug 07 2015 15:31
if there's no to: it's a contract creation
linagee
@linagee
Aug 07 2015 15:32
ah. I've got the contract address now. :)
Anthony C. Eufemio
@tymat
Aug 07 2015 15:32
@aperseghin yeah it's basically (current block number) - transaction's block number
slimz
@aperseghin
Aug 07 2015 15:32
so if 6000 confirmation are required then its 6000 blocks?
Christopher Franko
@chrisfranko
Aug 07 2015 15:33
so does the registrar not work?
Bitcoinzie
@Bitcoinzie
Aug 07 2015 15:33
It's about 24 hours @aperseghin
slimz
@aperseghin
Aug 07 2015 15:33
ok thanks
Anthony C. Eufemio
@tymat
Aug 07 2015 15:33
yeah.. but to be more accurate you also have to look at the average uncle rate I think
Roman Plášil
@Quiark
Aug 07 2015 15:34
@chrisfranko registrar is not there yet
Christopher Franko
@chrisfranko
Aug 07 2015 15:35
funny it returns a tx id though lol
lame
Anthony C. Eufemio
@tymat
Aug 07 2015 15:35
so if you get a TX id you should be good
the 24 hours was a guideline given to the Exchanges
since Ethereum is still young they want to make sure that there's enough time to resolve consensus breakage
Christopher Franko
@chrisfranko
Aug 07 2015 15:37
so if i have a txid from the registrar than whenever registrar works it should be good?
Anthony C. Eufemio
@tymat
Aug 07 2015 15:37
enough time to summon the Three Ancients Gavin, Vitalik, and Jeff to respond to issues.
no the registrar has nothing to do with this
linagee
@linagee
Aug 07 2015 15:37
weird. I was able to deploy a greeter, but it doesn't seem to work... :(
Christopher Franko
@chrisfranko
Aug 07 2015 15:37
lol that is what im asking about
didnt know you werent refering to me
linagee
@linagee
Aug 07 2015 15:38
should be at 0xd464e6289af4d1b3a6fabf2de33c2cae85dc98f3 (tx: 0x66dcd8e4a5dc606f04a874778f7d737694318bc097423dfba60bfd84d94e5dbb)
weird. contract was created: https://etherchain.org/tx/0x8ab08c56c46ca42091ec44c7c9148fe5eb6e0355eeffb29acb5f6c3326139f9e
(but I never got the second callback saying: "Contract mined! Address: ")
and greeter.address is still undefined
is there any endpoint to check the total available supply in real time?
linagee
@linagee
Aug 07 2015 15:44
70 million + some?
ack. either greeter was never made to operate at 117k gas limit, or I'm just doing something wrong, lol. (or both!)
Iuri Matias
@iurimatias
Aug 07 2015 15:45
but needs to be something automatic and up to date so they can use it
usafootballer
@usafootballer
Aug 07 2015 15:45
man i'm about to pop some bottles of champagne! :sparkles:
linagee
@linagee
Aug 07 2015 15:45
@usafootballer don't do that. have a smart contract do it. :smile:
usafootballer
@usafootballer
Aug 07 2015 15:46
lmao
who else here told a lot of friends and relatives to get in on the crowd sale and nobody listened to you??!! i told EVERYBODY and only 1 person took my advice. he is happy as fuck right now.
linagee
@linagee
Aug 07 2015 15:49
@iurimatias what the hell. old world markets took a small dive today though. :-1: (eh, about a percent on the dow)
realizing now I should have been begging and pleading for people to take my BTC when they were offering for $0.50/ether or whatever on /r/ethtrader.
@iurimatias have you been able to get, say, a greeter smart contract working?
Iuri Matias
@iurimatias
Aug 07 2015 15:53
haven't tried yet on frontier, waiting for things to calm down
linagee
@linagee
Aug 07 2015 15:54
ok, just pushed out another one. 119000 gas, we'll see how this works... (exited geth and trying it from scratch again from the page)
cjphilpot
@cjphilpot
Aug 07 2015 15:54
@usafootballer you selling your ether or holding for a while?
linagee
@linagee
Aug 07 2015 15:55
ok, greeter hit the network and it looks like it has been mined.... tx: 0x1a03e6f3a89a65a2cd146a215cbb8427f29c8695517dddc6a0901c9fbe179eb0
Contract transaction send: TransactionHash: 0x1a03e6f3a89a65a2cd146a215cbb8427f29c8695517dddc6a0901c9fbe179eb0 waiting to be mined...
undefined
> greeter
{
  address: undefined,
  transactionHash: '0x1a03e6f3a89a65a2cd146a215cbb8427f29c8695517dddc6a0901c9fbe179eb0'
}
>
etherchain shows it is mined. (I saw it just like this before typing "greeter" above.) https://etherchain.org/tx/0x1a03e6f3a89a65a2cd146a215cbb8427f29c8695517dddc6a0901c9fbe179eb0
@tymat can you please double check my work? :( (and yes, I'm on develop branch, not on .deb right now, no idea if that's fixed yet.)
(just checked, .deb is still broken. 718 built, 719 and 720 failed. er, of my particular .deb flavor...)
linagee
@linagee
Aug 07 2015 16:05
When I manually force it, I get this:
> var theGreeter = greeterContract.at('0x3dbdeeafa2aca6c8c4f6e442b07bb575fc5658a9')
undefined
> theGreeter
{
  address: '0x3dbdeeafa2aca6c8c4f6e442b07bb575fc5658a9',
  allEvents: function (),
  greet: function (),
  kill: function ()
}
> theGreeter.greet()
new BigNumber() not a base 16 number:
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at greet (<anonymous>:-93978:-19)
    at <anonymous>:1:1

>
derek
@boondogger
Aug 07 2015 16:09
hello...can anyone point me to where i can find information in transfering some olympic test ether to current frontier addresses? iam assuming they are different....and also, do i need the old 30Gblockchain to do this?
linagee
@linagee
Aug 07 2015 16:10
@boondogger ... test ether isn't worth anything ...
derek
@boondogger
Aug 07 2015 16:13
i though it was .05 eth or something like that.
linagee
@linagee
Aug 07 2015 16:13
oh, you're talking about the mining reward for olympic?
Rocky Fikki
@rfikki
Aug 07 2015 16:13
Yes boondogger it was for mining a block
linagee
@linagee
Aug 07 2015 16:14
that was: "we'll give it to you in weeks after the launch" by the foundation. it's not something that automatically transfers over.
@rfikki any help (even running through the same example) would help with the above! :smile:
smkrame2
@smkrame2
Aug 07 2015 16:15
Is anyone here using embark to develop?
Rocky Fikki
@rfikki
Aug 07 2015 16:15
@linagee ? just got back to looking at this gitter?
linagee
@linagee
Aug 07 2015 16:16
@smkrame2 there is a gitter specifically for that, but yes. :)
Iuri Matias
@iurimatias
Aug 07 2015 16:16
@smkrame2 I'm (a)
derek
@boondogger
Aug 07 2015 16:16
sorry, yes olympic......
ok so nothing yet....? ... i should just wait a couple of weeks?
Rocky Fikki
@rfikki
Aug 07 2015 16:16
What is the gitter for Embark?
linagee
@linagee
Aug 07 2015 16:16
@rfikki just trying to run through this. it should be the most easiest example, right? :smile: https://ethereum.org/greeter
linagee
@linagee
Aug 07 2015 16:17
@rfikki the only thing I've changed is the 1,000,000 gas they had in the example to what the gas limit is right now.
smkrame2
@smkrame2
Aug 07 2015 16:17
Oh shit, you're the embark guy. I was just posting here because I think it might be a problem with my geth too
linagee
@linagee
Aug 07 2015 16:17
@rfikki (and maybe that's messing it up, no idea.)
RJ Catalano
@VoR0220
Aug 07 2015 16:19
I've come baring bugs that I need help with. I'm getting this error whenever I try to create the contract (with transaction object declared fully),
Uncaught TypeError: Expecting a function in instanceof check, but got #<Object>
Rocky Fikki
@rfikki
Aug 07 2015 16:20
@linagee is your contract exactly like the one in the frontier website?
RJ Catalano
@VoR0220
Aug 07 2015 16:21
startTransaction: function() {
  var bal = new register.BigNumber('0x6970e295044bfa4279689909f32e0d3b8aee3df9');
  console.info(bal);
  // register.web3.eth.estimateGas();
  register.defaultAccount = new register.BigNumber(web3.eth.coinbase);
  register.web3.eth.contract(this.abi).new({data: this.code, gas: 100, from: register.defaultAccount}, //this is where error occurs
      function(err, contract) {
        if (err) {
              console.error(err);
              return;

        } else if (contract.address) {
              this.myContract = contract;
              console.log('address: ' + this.myContract.address);


              //while playing and buffer is loading ask for more payments, send transactions out and request more pieces
              // create return boolean function for active track 
        while (register.AudioPlayer.trackPlaying()) {

      }
    }
  });
Rocky Fikki
@rfikki
Aug 07 2015 16:22
Do we have a gitter for DAPPS? Solidity?
RJ Catalano
@VoR0220
Aug 07 2015 16:23
no but that would be really nice...
linagee
@linagee
Aug 07 2015 16:23
@rfikki exactly in every way except the gas limit which can't be 1,000,000 yet. :smile:
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 16:23
@VoR0220 interesting contract, I've paged our JS expert :)
linagee
@linagee
Aug 07 2015 16:23
@VoR0220 starting too high. start at the very simplest and work up from there. :P
Jonathan Brown
@ethernomad
Aug 07 2015 16:24
@rfikki @VoR0220 I can add you to ethereum community slack team
P.S.
@Yerne
Aug 07 2015 16:24
hey guys, is it enough 1Gb ram + 1 cpu for VPS to start mining?
RJ Catalano
@VoR0220
Aug 07 2015 16:24
that sounds excellent
@linagee I've always been a run before you can walk kind of guy....debug everything along the way....
Rocky Fikki
@rfikki
Aug 07 2015 16:24
Please do @drupalnomad
linagee
@linagee
Aug 07 2015 16:24
@VoR0220 what is this register.BigNumber? I think that might be missing from the greeter...
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 16:24
@Yerne You need at least 2 GB to mine on a CPU, but really 4 GB to be on the safe side
P.S.
@Yerne
Aug 07 2015 16:25
@Gustav-Simonsson so less wont work?
Roman Plášil
@Quiark
Aug 07 2015 16:25
except it's pointless to mine on CPU
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 16:25
@Yerne nope
linagee
@linagee
Aug 07 2015 16:25
@Quiark not really. :-D
@Quiark I mined a CPU block yesterday. :-D (got really really really lucky)
RJ Catalano
@VoR0220
Aug 07 2015 16:26
@linagee it's to ensure that the web3.js interpreter will actually run it....because these numbers are too big for it to handle.
Gustav-Simonsson
@Gustav-Simonsson
Aug 07 2015 16:26
@Quiark depends on the CPU, and your electricity cost :D
linagee
@linagee
Aug 07 2015 16:26
@VoR0220 do you have to wrap all addresses in BigNumber?
RJ Catalano
@VoR0220
Aug 07 2015 16:26
@linagee I'm doing it for safety reasons....
Rocky Fikki
@rfikki
Aug 07 2015 16:26
@linagee is the gas not to high for current status of GETH? What is the max amount gas currently? 3M?
P.S.
@Yerne
Aug 07 2015 16:27
@Quiark i heard that ethereum have protection from asic abuse, no?)
Roman Plášil
@Quiark
Aug 07 2015 16:28
yea but not GPU
linagee
@linagee
Aug 07 2015 16:28
@VoR0220 weird. I tried this:
var theGreeter = greeterContract.at(web3.toBigNumber('0x3dbdeeafa2aca6c8c4f6e442b07bb575fc5658a9'))
and now instead of a BigNumber error I get:
> theGreeter.greet()
could not decode, json: cannot unmarshal object into Go value of type string
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:28

@VoR0220 thats actually a bug in the return value.

If you deployed the contract, you didnt set a value in the constructor and therefore the greet() returns nothing, but web3 expects a string.

But we should definitely handle that more gracefully, can you please create an issue in web3. posting you actions and also the greeter contract youre using?

linagee
@linagee
Aug 07 2015 16:28
@frozeman was that for me? I don't think @VoR0220 's had a greet()
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:28
yes
ah ok
sorry
RJ Catalano
@VoR0220
Aug 07 2015 16:29
@frozeman mine is right above...would love some input there
linagee
@linagee
Aug 07 2015 16:29
np. if you can help me get "the greeter" working, I'd be very happy. :-D
but... I think I even got this same error before Frontier was released. I thought it was just me... :(
(I guess the example is broken somehow?)
@VoR0220 walk then run. yours may not even fit into gas limit yet, lol. :smile:
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:31
i knwo the contract :) but could you create an issue in http://github.com/ethereum/web3.js
RJ Catalano
@VoR0220
Aug 07 2015 16:32
@linagee I realize that it might not fit into the gas limit yet, but that shouldn't stop it from running on the testnet should it?
linagee
@linagee
Aug 07 2015 16:32
just saying this?
> theGreeter.greet()
new BigNumber() not a base 16 number:
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at <unknown>
    at greet (<anonymous>:-93978:-19)
    at <anonymous>:1:1
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:32
did you provide a string in the constructor when you created your ..contract.new(‘my greeting’, {data: .., from: ..})??
linagee
@linagee
Aug 07 2015 16:32
yep
var greeter = greeterContract.new(_greeting,{from:web3.eth.accounts[0], data: greeterCompiled.greeter.code, gas: 119000}, function(e, contract){
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:32
@linagee no make please a proper error report. post the contract youre using and the steps you did to get to the error
linagee
@linagee
Aug 07 2015 16:32
(and _greeting was set)
@frozeman ah, I meant, I think this is as far as I can take it - I'm not sure I can do any further troubleshooting before making the issue.
(I wish I could. :-/ )
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:33
ok, so it might be a problem either with the cmpiler version youre using (which can’t do solidity string properly yet), or its the output we parse wrong, in any case please submit an issue
linagee
@linagee
Aug 07 2015 16:34
I'll make sure to include those versions then
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:34
if you connect using RPC, you can always look at the netweok tab in your console and look whats acutally send and received by your browser
that weould help a lot
linagee
@linagee
Aug 07 2015 16:39
@frozeman I think I have included everything: ethereum/web3.js#286
@frozeman updated to include actual etherchain.org tx url
Fabian Vogelsteller
@frozeman
Aug 07 2015 16:44
i have to go, but check what the greet call returns. Go in your chrome -> developer tools, click the network tab and look for the call you do, look there for request headers and copy them into the issue
linagee
@linagee
Aug 07 2015 16:44
not using browser, just CLI
(CLI from geth)
@tymat (or anyone) how do you look up the code at the contract's address?
eth.getCode()?
ahhhh...
"Hah, getting an address actually doesn't mean your contract is created.
In fact that you get 0 for code proves that it wasn't. "
(and yes - I do get 0x for that.....)
ahhhhhhhhhh...
I think the gasLimit is not yet high enough to run "the greeter" lol. :smile:
(see: ethereum/go-ethereum#842 )
@VoR0220 I hope this might actually help you as well.
@tymat I don't think you actually created a contract yet. (or at least, without any sort of state, how would you prove it? :smile: )
RJ Catalano
@VoR0220
Aug 07 2015 16:51
thanks @linagee
Alex Na
@lexansoft
Aug 07 2015 16:51
Is ETH trading already?
linagee
@linagee
Aug 07 2015 16:52
@VoR0220 or I guess it's possible you just didn't throw enough gas at it? (trying greeter again with higher gas.... maybe it will just work?)
Anthony C. Eufemio
@tymat
Aug 07 2015 16:55
sender
and it created a contract address
linagee
@linagee
Aug 07 2015 16:55
no... I think all I've done is just destroyed more of my ether, lol.
@tymat mine did too, I can do eth.getTransactionReceipt, but did eth.getCode do anything?
RJ Catalano
@VoR0220
Aug 07 2015 16:56
tried to run estimateGas and all that did was return me with an error stating "Out of Gas"
Anthony C. Eufemio
@tymat
Aug 07 2015 17:03
I didn't have --vmdebug
but there's code in the contract
linagee
@linagee
Aug 07 2015 17:04
@VoR0220 I've heard estimateGas is a bit broken or something
RJ Catalano
@VoR0220
Aug 07 2015 17:04
ahhh...shit
Anthony C. Eufemio
@tymat
Aug 07 2015 17:05
@linagee interestingly there's no code web3.eth.getCode('0x9a049f5d18c239efaa258af9f3e7002949a977a0')
linagee
@linagee
Aug 07 2015 17:05